Because EE4 does not support multilingual setups (WPML). I’m trying to load the event into another post type created by PODS plugin which does support WPML.
In the CPT I created a relation to the event and I’m able to get the event ID and also stuff like the_title() work fine. However, I don’t seem to be able to get the rest of the data from the event in my post.
What function calls can I use to embed the event data in my post?
BTW I also tried using the shortcode [ESPRESSO_TICKET_SELECTOR] but it only gives the basic data and booking button, not even begin-end dates.
Makes sense. I didn’t get how to use these but ok.
So if in the loop you can use these calls to get the data…
I’ve just added the espresso_event_reg_button() but this just makes a button link to the EE event post. It does not, like on the single event page, start the booking process.
Are there additional params/settings to get this working?
The espresso_event_reg_button() template tag doesn’t start the booking process. It only displays a link to the single event page. To get a functioning ticket selector on another CPT, your best option is use the ticket selector shortcode.
Viewing 3 reply threads
The support post ‘Integrate events in other custom post type’ 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.