Skip Navigation

[Resolved] Managing a CPT created by a 3rd party plugin

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

Problem:

The customer wanted to replace a third-party plugin that registers a custom post type and taxonomies with Toolset, while keeping the existing content and managing it through Toolset.

Solution:

The recommendation was to remove the original PHP registration from the third-party plugin and recreate the custom post type in Toolset using the same slug. Existing posts would remain available as long as the slug stays the same. For custom fields, Toolset’s Post Field Control can be used to take over management of existing fields. It was also noted that some plugin-specific functionality may not be transferable and should be tested.

Relevant Documentation:

https://toolset.com/course-lesson/convert-existing-custom-types-and-fields-to-types-control/

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 1 voice.

Last updated by neilR 1 day, 16 hours ago.

Assisted by: Christopher Amirian.

Author
Posts
#2853555

Tell us what you are trying to do?
I have a plugin which has created a CPT and taxonomies, but it doesn't have the flexibility of Toolset. I want to disable it and use Toolset instead to manage the existing and new data.

Is there any documentation that you are following?
A Google Search turned up this post: https://toolset.com/forums/topic/managing-cpt-created-by-3rd-party-plugin/ which links to a another forum post, now deactivated: https://toolset.com/forums/topic/linkining-custom-fields-and-post-types-created-with-3rd-party-plugin/

What is the current recommendation in this area please?

#2853678

Christopher Amirian
Supporter

Languages: English (English )

Hi,

Welcome to Toolset support.

1. Custom Post Types:

For custom post types registered through the PHP function, you can remove the relevant PHP function and then register the post type through the Toolset Types, ensuring that the post type 'slug' remains the same.

As long as the newly registered post type 'slug' is the same as the previous one, the already entered posts would become available under these newly registered post types.

2. Custom Fields:

For the custom fields, you can visit the "Post Field Control" section, to select them to be managed by Toolset.
( you'll see the button at the bottom of the custom fields groups management screen at WP Admin -> Toolset -> Custom Fields )

Relevant documentation link:
https://toolset.com/course-lesson/convert-existing-custom-types-and-fields-to-types-control/

Please Note: The third-party plugin might have additional functions attached that are outside of Toolset's capabilities to handle. So on each scenario, you will need to test and see if it works ok.

Thanks.

#2853706

Hi Christopher,
Thanks for the reply - I'll give that a go.
Perhaps you could consider updating that old post to point to the new documentation?
All the best,
Neil