[Resolved] Is it possible to get rid of wp-types by exporting a php plugin ?

This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

This thread is resolved. Here is a description of the problem and solution.

Problem: Is it possible to create a script that would export all custom post type and custom fields / group created in wp-types in a regular plugin in php in order to uninstall wp-types?

Solution: We don’t have any such script. What you can try is this:

=== Please backup your database and website first ===

1. Deactivate Types >> and re-register your Custom Post type with same “slug” using native WP method: https://developer.wordpress.org/plugins/post-types/registering-custom-post-types/ http://www.wpbeginner.com/wp-tutorials/how-to-create-custom-post-types-in-wordpress/ (section: Creating a Custom Post Type Manually).

This way it will bring back all posts for that CPT.

2. Reactivate Types again. 3. Go to Toolset >> click Post Field Control button >> for all the Custom Fields that you want to keep without Types >> click “Stop managing with Types” for all those fields. Screenshot here: https://d7j863fr5jhrr.cloudfront.net/wp-content/uploads/2017/08/558121-post_field_control.png?x71388 4. Now you can deactivate & delete Types plugin.

This way you will have your CPT posts and Custom Fields without Types. Please note this is experimental workaround that I think can help. And you will loose Types UI or Interface which makes design looks different at the backend.

Tagged: 

This topic contains 3 replies, has 3 voices, and was last updated by  damianM-2 4 months ago. The support staff assigned to this topic is Noman.

Viewing 4 posts - 1 through 4 (of 4 total)
Author
Posts
#558081

Hi team!

Be sure, your plugin is great!

Nevertheless, for a project, I no longer use the capabilities of wp-types, the client never changes fields or custom types ..

Since wp-types is a bit heavy to load, I was wondering if it was possible, or if you had one day created something, or found it through the community, a script that would export all custom post type and custom fields / group created in wp-types in a regular plugin in php in order to uninstall wp-types ?

Thank you in advance,
Best,
Wilhem

#558121

Noman
Forum moderator

Supporter languages: English (English )

Supporter Timezone: Asia/Karachi (GMT+05:00)

Hi Wilhem,

Thank you for contacting Toolset support. I am afraid we don’t have any such script. What you can try is this:

=== Please backup your database and website first ===

1. Deactivate Types >> and re-register your Custom Post type with same “slug” using native WP method:
https://developer.wordpress.org/plugins/post-types/registering-custom-post-types/
hidden link (section: Creating a Custom Post Type Manually).

This way it will bring back all posts for that CPT.

2. Reactivate Types again.
3. Go to Toolset >> click Post Field Control button >> for all the Custom Fields that you want to keep without Types >> click “Stop managing with Types” for all those fields (screenshot attached).
4. Now you can deactivate & delete Types plugin.

This way you will have your CPT posts and Custom Fields without Types. Please note this is experimental workaround that I think can help. And you will loose Types UI or Interface which makes design looks different at the backend.

Thank you

#560694

Hi Noman,

Thank you for your quick reply, I'll try soon and keep you in touch.

Best,
Wilhem

#597979

Hello Wilhem, did this method work? We are looking at doing the same and wonder if you ran into any trouble.

Viewing 4 posts - 1 through 4 (of 4 total)