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
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?
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:
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?
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.
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.