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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Alex Stott 6 years, 3 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.