In this article we're going to cover how to switch between content/post types in WordPress. For example, if you just spent an hour and a half writing A blog post just to find out that it is actually a page on WordPress, you may think that you need to reformat everything by copying and pasting the text on to a blog post.
Not only does this take a lot of time, but it is impractical because there are a collection of plugins out there that will allow you to easily change a page in WordPress to a post (and vice versa).
Yes, this article was inspired by us writing a blog post on a page and wanting to change it to a post.
We've already covered some cases that would require you to change a post type in WordPress. Especially with the Gutenberg editor, if you spent hours formatting your post just to learn that it is the wrong type of content in WordPress, you may think that you need to redo all of that formatting.
Instead, there's a plugin that makes it very easy to switch the post type - simply install it and follow the steps in this article.
The name of the plugin is Post Type Switcher and it does exactly what it’s title says; Allows switching of a post type while editing a post (in post publish section). It will allow you to switch between types on virtually every combination of content on WordPress:
There is support for the Gutenberg editor, and you can even bulk at it posts. This is great if you need to switch between Custom post types. It will also keep the taxamony associations which saves you even more time!
after you install the free plugin from the WordPress repository, there's no additional setup. All you need to do is go into the editor for the content that you want to switch the post type for. in the Gutenberg sidebar, under the status and visibility section, you'll see a new entry called “post type”.
In this example, the current content type is a page. We want to change this WordPress page into a WordPress post.
Clicking on the page link will toggle a post type Switcher popup, which displays all of the types of posts that you can Switch the content to. As you can see, we have several custom post types on our WordPress website, which are picked up by this plugin.
After selecting the post type that you want to switch to, you'll get a confirmation message.
After confirming, your page is automatically transitioned to a post. It's really as simple and easy as that, no more spending hours reformatting content because you entered it under the wrong post type.
This article should have presented how to change a post type in WordPress. This is extremely helpful for switching your content from pages to posts and vice versa, while also supporting custom post types. If you have any questions, feel free to leave them in the comment section below.