Support

Home Forums Event Espresso Premium Dates not with events in widget

Dates not with events in widget

Posted: November 19, 2021 at 9:51 am


Maureen

November 19, 2021 at 9:51 am

Our site was updated from 4.10.13 to 4.10.15 yesterday, and now our event widget has the dates and times for the three listed events grouped at the top of the widget, and then the event title and excerpt for the three events listed as expected. Is there something I need to change in the widget or EE setup, or is this a bug in the update?


Tony

  • Support Staff

November 19, 2021 at 10:35 am

Hi there,

My apologies, thats a bug and we’ll have it fixed in the next version of EE.


Maureen

November 19, 2021 at 11:47 am

Thanks for responding Tony. I’ll sit tight till the next version is ready.


Tony

  • Support Staff

November 19, 2021 at 1:21 pm

Hi Maureen,

We’ve found the cause of this and will be pushing an update for it on Monday.

If you are comfortable with PHP at all you can find this in:

\event-espresso-core-reg\widgets\upcoming_events\EEW_Upcoming_Events.widget.php

Line 698 – 704 should be:

return espresso_event_date_range(
    $date_format,
    $time_format,
    $single_date_format,
    $single_time_format,
    $event->ID()
);

Change that to:

return espresso_event_date_range(
    $date_format,
    $time_format,
    $single_date_format,
    $single_time_format,
    $event->ID(),
    false
);

That should fix it for you.

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso