Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Add description and featured image in Upcoming Events widget | Event Espresso - Staging Server

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

Viewing 4 reply threads


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

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

  • Support Staff

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!

Viewing 4 reply threads

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 - Staging Server