Home Forums Event Espresso Premium Show Image In Widget

Show Image In Widget

Posted: January 10, 2013 at 3:54 pm


January 10, 2013 at 3:54 pm

I’m trying to show the images in the widget, however using the codes ive been able to find in this forum none of them worked. Always outputs a blank url for the images. any ideas?


January 11, 2013 at 6:34 am

Hi Philip,

The only way to do it currently is to amend the widget.php.

Around line 72 is a foreach command.

Inside that you will need to add some code.

$event_meta = unserialize($event->event_meta);
$event_img_url = $event_meta['event_thumbnail_url'];
//Featured image
echo '';

What this does is grab the featured image url and after taking it out of the serialised array ( a step I think you may have been missing) dumps it into an image tag.

Obviously you will need to modify and style it appropriately


January 11, 2013 at 7:53 am

Thank you Dean!

That did it, perfect.

The support post ‘Show Image In 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