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, 9 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