In WordPress, you can use post type to specify what kind of post you are publishing. For example, if we’re writing an article about video editing, we have to select a video post type.
Post type specifies the content of the website. For example, it can signify a gallery that only contains pictures and descriptions. Thus, this is a very useful and essential feature for SEO and search engines. Specifying post type will allow Google to show your content at the right time. For example, show video content for video searches.
Nowadays, most WordPress themes support this feature. Therefore, we can use post type in our pages and posts to better display our content. But how can you change post type in WordPress?
Normally you can’t change post type in WordPress after writing a post. Therefore, you will need to use a plugin or manually change the post type by using code. In this article, we tend to teach you how to do that.
Changing post type using Post Type Switcher
Using Post Type Switcher is one way to change post type in WordPress. To install this plugin, first head over to your plugins and click on add new. Now in the search box search for “Post Type Switcher” then continue to download and activate it.
You can also install it directly into your WordPress. By going to plugins, add new > upload the .zip file and click on install.
Once the plugin is installed and activated, head over to your post. With a quick edit, you can change post type.
Bulk edit post type with Convert Post Types
To change post type in WordPress you can use Convert Post Types plugin. The installation process is similar to Post Type Switcher, you can download and install it from your plugins tab.
After installation, you will see a new option on your menu “Convert post types” and by clicking on it, you can select posts based on post type, categories, tags and etc. and change their post type.
Changing post type using WordPress export function
Another way to change post type is by manually changing their URL. If for any reason you didn’t want to use the plugins mentioned above, you can export your posts from Tools. Then edit the .xml file in Notepad++ and look for the current post types on your website and replace them with a new name.
Post type code will be after the code below:
<wp:post_type>
Post type related to posts will be displayed like:
<! [CDATA[post]]>
And post type related to pages will be displayed like:
<! [CDATA[post]]>
Conclusion
As mentioned above, most WordPress templates (especially premium ones) are designed to use post type to sort posts and often they use a different design for each post type. For example, a video will be displayed as the featured image.
Therefore, before changing your post type it’s best to have a look at your template’s settings and make sure by changing post type you won’t break the website.