Support

Home Forums Event Espresso Premium Retrieving Event's Featured Image from Template

Retrieving Event's Featured Image from Template

Posted: December 1, 2012 at 3:59 am

Viewing 2 reply threads


Darius Zagrean

    December 1, 2012 at 3:59 am

    Hi guys, I am currently doing some dev work & need to retrieve the event’s featured image from the template (to use as a background). Is this possible and how can I do this?


    Lovehistory

      December 1, 2012 at 5:18 am

      The feature image for each event is stored in $event_meta[‘event_thumbnail_url’]

      If your using a thumbnail for the feature image, you’ll need to alter it to get the original/larger file to use it on a larger background.


      Darius Zagrean

        December 1, 2012 at 6:30 am

        I’ve already tried to use that in page.php (outside of the plugin) but did not work so yes, I did end up using $event_meta[‘event_thumbnail_url’] with jQuery to update the page. Thanks for your reply!

        Viewing 2 reply threads

        The support post ‘Retrieving Event's Featured Image from Template’ 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