Support

Home Forums Event Espresso Premium I want the search bar for EE4 plugin on the basis of events and locations. Reply To: I want the search bar for EE4 plugin on the basis of events and locations.

Reply To: I want the search bar for EE4 plugin on the basis of events and locations.

Author Replies
Tony # Posted on May 4, 2018 at 8:13 am

In what context? What objects do you have?

If you have an EE_Event object in a var $event you can use echo $event->featue_image();

Or if you want just the URL for the feature image $feature_image_url = $event->feature_image_url();

Each of those default to the thumbnail size but you can pass a different size if preferred and as EE are custom post types, the feautre images are stored in the same way WP Posts are.

We really need more context to be able to help you with the above.

Do NOT follow this link or you will be banned from the site!