Support

Home Forums Event Espresso Premium Custom Post Types in EE4

Custom Post Types in EE4

Posted: January 20, 2015 at 7:14 pm

Viewing 1 reply thread


smejia

January 20, 2015 at 7:14 pm

How do you add custom post types to EE4??? I’m going to sell tours as well as events so I wanted to have a custom post type for tours as well.


Dean

January 21, 2015 at 5:21 am

Hi,

That is not possible, as the plugin uses a single CPT for it’s events.

What you could do is use this code to change the CPT slug to something a little more generic (e.g. toursandevents or products etc).

https://eventespresso.com/wiki/change-events-cpt-slug/

Then you could use categories to separate the events into events and tours and list them on separate pages using the [ESPRESSO_EVENTS category_slug=”xxx”]

Viewing 1 reply thread

The support post ‘Custom Post Types in EE4’ 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