How To Switch/Convert Custom Post Types in WordPress


WordPress comes with five default post types, which are posts, pages, attachments, revisions and menus. Users can also create their own custom post types. This gives them power to create different types of content and display them differently on their websites. Recently we found a need to merge two custom post type into one for a client’s project. In this article, we will show you how to switch custom post types without writing any code. Suppose if you created a post and wanted to covert it into a page, or a vice-versa, then you would be able to do this by following this tutorial. If you want to switch from one custom post type to another, then you would be able to do that as well. Lastly, you will be convert multiple post types at once which will allow you to save a lot of time.

Video Tutorial

Subscribe to WPBeginner

If you don’t like the video or need more instructions, then continue reading.

First thing you need to do is install and activate the Post Type Switcher plugin. Post Type Switcher adds an option to switch post type of a specific post by going to the post edit screen or manage posts area. On the edit screen of your post or another post type, you will see a drop down under the “Publish” meta box. Choose the post type you want to switch to and click the update button.

Changing post type in post edit area

You can also quickly change an individual post’s type from the Quick Edit screen while viewing all posts:

Changing post type in quick edit

Post Type Switcher also allows you to switch post type for multiple posts by editing them in the bulk action mode. Follow these steps:

  1. Go to All Posts
  2. Select the posts you want to change
  3. In the Bulk Actions drop-down menu, located towards the top left side of the screen, select Edit and press the Apply button.
  4. Now you will see all selected posts in quick edit mode. Review the posts you have selected and then change the post type as needed.

Changing post type for multiple posts with bulk edit

Converting Multiple Post Types Advanced Mode

Post Type Switcher is a quicker and a simpler solution. However, there might be situations where you would need to select post types in a particular category, tag, or post types with a particular post format. In such situations you can use Convert Post Types plugin. Install and activate this plugin. Upon activation, a new “Convert post types” menu item will appear under Tools. You will notice that it is a powerful plugin, which allows you to do so many things and select posts by filtering them into categories, parent pages, tags, etc.

Changing Post Types of Posts matching particular criteria

If you ever wanted to switch a post to a page in WordPress, convert a page into a post, or merge two custom post types into one, then we hope that you found this article helpful. If you have any questions, then please leave them in the comments. If you have used other methods to convert post types in WordPress, then share it with us in the comments below.