Can you move a CPT and its contents into another CPT?

[ad_1]

https://preview.redd.it/obuufjcsrk7d1.png?width=1035&format=png&auto=webp&s=a82720fb7028449ae98ce66bce694033993cfdd5

I tried to diagram this to have it make more sense.

Let’s say I didn’t plan ahead super well. And I made a CPT for each type of service offered.

Then, duh, wouldn’t it be a great idea to have a “Services” CPT that is hierarchical and then have subposts/subpages there?

However, I already have those pages created elsewhere.

Can I move CPTs into other CPTs later for better organization?

[ad_2]
2 Comments
  1. Yes! I’ve done this exact thing before using WP All Import and WP All Export. Free version is great, let’s you map data to whatever fields you specific and includes a visual example.

    The free version worked great for me, and it’s downloadable from the WP repo

    Of course, backup advised or staging site recommended first

  2. Structurally that’s not how it works. The CPT is just a field name in the posts table. To change a post’s CPT, all you need to do is change its value in the posts table (assuming you don’t have a different custom fields?)

    Also, in the second picture you have a CPT as a child of another CPT – that how that works either. What are actually trying to do?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer