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
Featured Image in Widget (2) | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Featured Image in Widget (2)

Featured Image in Widget (2)

Posted: February 8, 2013 at 11:19 am

Viewing 1 reply thread


inlinewo

February 8, 2013 at 11:19 am

Chirs has posted a snipped about half a year ago that used do_shortcode to call a featured image, but the SAME featured image is shown for all events. If the widget is placed on a registration page, all images will be the one from that particular event.
chris his code snipped
Is there another way to call the featured image in the widget?

  • This topic was modified 11 years, 11 months ago by inlinewo.


inlinewo

February 8, 2013 at 12:21 pm

Resolved by adding:

$event_meta = unserialize($event->event_meta);
$event_img_url = $event_meta['event_thumbnail_url'];

<img width="41" height="41" src="">

to widget.php

Viewing 1 reply thread

The support post ‘Featured Image in Widget (2)’ 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