Support

Home Forums Event Espresso Premium Converting Event Espresso custom post types and taxonomy

Converting Event Espresso custom post types and taxonomy

Posted: March 29, 2018 at 11:00 am

Viewing 3 reply threads


James Cox

March 29, 2018 at 11:00 am

Hi there

I am using wp types and need the venue posts to be public (rather that just the venue category).

I need to do the following, can someone point me in the direction of removing the php that declares the category (its child too) and the venue – I want wptypes to manage them.

thanks:

How do I convert existing custom types and fields to Types control?

Converting custom post types and taxonomy
If you’ve already declared custom post types and taxonomy in PHP, you can tell Types to manage them.

The process goes like this:

Remove the PHP that declared these custom types. Normally, you’ll remove them from functions.php in the theme. Once you do this, all your custom data will appear to have vanished. Don’t worry. It just doesn’t show.
Add it using Types. Make sure that you use the exact same slug. The description can be different but the slug is crucial. If it’s different, the old content will not show. Now, everything displays back as it was.


Josh

  • Support Staff

March 29, 2018 at 11:36 am

Hi James,

I’m afraid it’s not clear exactly what you’re asking for here. Is there a property of the post type or taxonomy that needs to modified? If so which one(s)?


James Cox

March 29, 2018 at 12:33 pm

WP Types suggested converting the taxonomy to custom fields (https://wp-types.com/documentation/user-guides/create-custom-taxonomies/) That is the categories and venues.

This is so the parent and child can be separated and we can generate venues in a dropdown list


Josh

  • Support Staff

March 29, 2018 at 12:46 pm

That document doesn’t say anything about converting already registered custom post types & taxonomies.

Viewing 3 reply threads

The support post ‘Converting Event Espresso custom post types and taxonomy’ 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