Support

Home Forums Event Espresso Premium Add description and featured image in Upcoming Events widget

Add description and featured image in Upcoming Events widget

Posted: August 5, 2013 at 9:39 am


Alex Stott

August 5, 2013 at 9:39 am

I’ve had a good look through the forums for a way to add a featured image and description to the Upcoming Events widget, but haven’t had any success. Can anyone point me in the right direction please?


Josh

  • Support Staff

August 5, 2013 at 11:00 am

Hi Alex,

That would involve some custom development and the file in question would be the /templates/widget.php file.

Instead of refactoring the upcoming events widget to add features that are already available in the [EVENT_LIST] shortcode, you can add support for shortcodes in widgets in your theme’s functions.php file and place the [EVENT_LIST] shortcode in a widget.

Here’s an excellent reference that details how to use shortcodes places in other than the regular page content:

http://stephanieleary.com/2010/02/using-shortcodes-everywhere/


Alex Stott

August 6, 2013 at 3:30 am

That’s great thanks for the pointer, but as far as I can see, the [EVENT_LIST] shortcode doesn’t provide parameters for description or thumbnail. Is there a way to add them?


Dean

August 6, 2013 at 3:40 am

Hi Alex,

Featured images and descriptions are not controlled in the shortcode, but instead via the Template Settings page in the Event Espresso menu area of the dashboard.


Alex Stott

August 7, 2013 at 2:41 pm

Just to report back and say that this worked brilliantly, thanks for the excellent support!

The support post ‘Add description and featured image in Upcoming Events 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