Is there a function similar to wp_get_recent_posts() for events? I would like to make a template in which I get unexpired events in a category and then loop through the events and display a list of the meta data from each event.
If you look in the Event Espresso plugin folder there is a folder named “post-type-samples”. There’s a sample template with code that runs a query for the espresso_event post type that you could use/adapt.
The support post ‘List event meta data’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.