I’m in the process of migrating from EE3 to EE4. In EE3 I was using the custom posts to display the events archive and single event template.
I’ve managed to get the events archive working as it previously did but I’m having accessing certain data in the single template.
For example in EE3 I used the following:
$event_location = get_post_meta($post->ID, 'event_location', true);
I’m trying to change the content on the single-events page.
Could you give me an example of the code to use in order to display a single ticket price for example.
The support post ‘Accessing EE4 Event 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.