Duplicate a Custom Post type ?

[ad_1]

I have a question that might be a bit basic. I have a laptop reviews website that I purchased some time ago. The original developers, who are no longer reachable, created custom post types with specific page builder layouts, taxonomies, and more by writing thier own custom code

Is there a way to duplicate an entire custom post type? For example, I’d like to duplicate the “brand reviews” section to create a new category.

Thanks in advance for any help!

[ad_2]
3 Comments
  1. You want to duplicate a custom post type to create a new category? The new category can’t be assigned to an existing custom post type?

  2. Easy.

    Either look in the theme settings, look for a plugin that’s used for creating them in the first place or, better still, the theme functions.php – in which case you merely duplicate the code of one of the other CPTs, rename to the new CPT and auntie is your cousin.

  3. Well kind of, duplicating it through code or one of the plugins is generally trivial, but you’ll probably need to duplicate the hierarchy files as well if they’re coded specifically per CPT.

 

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