Have you ever wanted to switch a WordPress post to a page, convert a page into a post, or merge two custom post types into one?
WordPress comes with five default post types, and you can create your own custom post types. What do you do when you need to change one post type to another?
In this article, we will show you how to switch custom post types without writing any code.
Why Would You Need to Switch Post Types?
You can also create your own custom post types. This lets you create different types of content and display them differently on your websites. These could be portfolios, testimonials, products, or anything you like.
If you’re wondering how you can use custom post types on your own website, then you should check our guide on when you need a custom post type or taxonomy in WordPress.
Sometimes you may need to switch one post type to another. For example, you may need to convert a post to a page, or vice-versa.
Or you may want to switch one custom post type to another, or even convert multiple post types at once, saving yourself a lot of time.
With that being said, let’s have a look at how to switch or convert custom post types in WordPress.
Switching Post Types in WordPress
Once activated, the plugin will allow you to switch post types when editing a post, as well as using Quick Edit and Bulk Actions when viewing all posts.
Switching Post Types in the Block Editor
If you use the Gutenberg block editor, then start by editing one of your existing posts, pages, or custom post types.
In the Status & Visibility section of your Post settings, you’ll notice a new entry for Post Type. Once you click the Post link you’ll be able to select a different post type.
Once you respond to the confirmation message, the post type will be immediately changed.
Switching Post Types in the Classic Editor
If you’re using the classic WordPress editor, then you also need to start by editing one of your existing posts or another post type. You should see a new drop down menu under the Publish meta box.
Simply choose the post type you want and click the Update button.
Switching Post Types from Quick Edit
You can also quickly change an individual post type using Quick Edit while viewing all posts.
You should see the same drop down menu at the bottom of the Quick Edit form. Here you can choose the post type you want to switch to, then click the Update button.
Switching Multiple Post Types with Bulk Actions
The Post Type Switcher plugin also allows you to switch the post type for multiple posts at once. You do this using the Bulk Actions mode when viewing all posts.
First, you need to navigate to Posts » All Posts and then select all of the posts you wish to change.
Next, you should click the Bulk Actions drop down menu at the top or bottom of the files list. You then need to select Edit and click on the Apply button.
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.
We hope this tutorial helped you learn how to switch or convert custom post types in WordPress.