Support

Home Forums Event Espresso Premium Events Not Showing in Widget

Events Not Showing in Widget

Posted: March 31, 2016 at 9:01 am


Lucy Pierpont

March 31, 2016 at 9:01 am

No all of my events are showing in the Upcoming Events widget on http://www.kentmemoriallibrary.org/ I am missing events between now and April 16. I am not using any categories, and do not have recurring events enabled. I have looked at other support posts on this subject, but none of them have been applicable.

Any help appreciated!


Josh

  • Support Staff

March 31, 2016 at 1:32 pm

Hi Lucy,

There’s a bug in Event Espresso 3 that’s affecting the events in the widget. Until it’s fixed, you can go into the widget settings and change Show Recurring Events? to Yes the save. Then it will show the missing events.


Lucy Pierpont

April 2, 2016 at 9:40 pm

Hi, Josh –

The problem with this fix is that I don’t want recurring events to show in the widget.

Thanks!


Tony

  • Support Staff

April 4, 2016 at 4:22 am

Hi Lucy,

We will be releasing an update to Event Espresso with a fix for this but in the mean time you can apply a fix to the widget.

Within /event-espresso/templates/widget.php, around line 35 you’ll have this:

$show_recurrence = $instance['show_recurrence'] == 'false' ? " AND e.recurrence_id = '0' " : '';

Swap that for:

$show_recurrence = $instance['show_recurrence'] == 'false' ? " AND (e.recurrence_id = '0' OR e.recurrence_id IS NULL) " : '';

Then set the widget NOT to display recurring events again.

Alternatively you can download this widget.php template – http://take.ms/XSlc2

Then upload that to – /wp-content/uploads/espresso/templates/

Event Espresso will use that template in place of the default, be sure to remove that file once the update for EE has been released so that you the use the default file within EE (which will the contain the same, or similar, fix).


Lucy Pierpont

April 4, 2016 at 12:10 pm

Great! Thanks so much for the fix.

The support post ‘Events Not Showing in Widget’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso