• Resolved romanbae

    (@romanbae)


    Hi,

    I write you as a pro user and hope you can help me.
    As you can see on my page: https://lehman5.de/lehman2018/konzerte the manually added event “Future Event No2” is listed under “Vergangene Konzerte” (Past Events).
    But the event’s date is 2019/02/02 (!) It is also not listed in the area of upcoming events.

    Here’s the configuration:
    upcoming events: [facebook_events col=1]
    Past Events: [facebook_events col=1 past_events=”yes”]

    I have an additional quastion:
    Is it possible to display the event’s year? Just “Feb 02” is too less informative. Is it 2017, 2018, 2019? I need it on the overview page and on the event’s details page.

    Thank you for your support!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter romanbae

    (@romanbae)

    Got it! The event needs an end date because the plugin’s SQL query filters by this. The default end date (if it’s not set) is the event’s creation date (and this is in the past…).

    To get the year manipulate ife-archive-content.php and ife-event-meta.php.
    Simply add something like:
    <span class=”year”> <?php echo date_i18n(‘Y’, $event_date) ; ?> </span>

    It was no difficult problem, but I miss some documentation. I didn’t want to manipulate code files which can result in problems with a possible future update.

Viewing 1 replies (of 1 total)
  • The topic ‘Event in future listed as past event, missing years’ is closed to new replies.