How to Convert Post Types in WordPress

Written by Jean Galea
Written by Jean Galea
Ever wondered if it's possible to convert from one custom post type to another? Yes it is! This can be very useful for example when switching themes. One theme can have a particular custom post type implemented while the new one won't have it, or will have it under a different name. Here's how you can make the transition easier.

Partner Sponsors

BionicWP

Full disclosure: If you purchase through a link on our site, we may earn a commission. Learn more.

Ever wondered if it’s possible to convert from one custom post type to another? Yes it is! This can be very useful for example when switching themes. One theme can have a particular custom post type implemented while the new one won’t have it, or will have it under a different name. Here’s how you can make the transition easier.

Post Type Switcher

Post Type Switcher

Any combination is possible, even custom post types:

  • Page to Post
  • Post to Page
  • Page to Attachment
  • Post to Custom

Note: Invisible post types (revisions, menus, etc…) are purposely excluded. Filter ‘pts_post_type_filter’ to adjust the boundaries.

Post Type Converter

Adds meta boxes to all post types and allows you to convert the post type of the current post you are editing to a different post type. This very useful when doing an import from another site into one post type that then needs to be filtered into different post types or even to fill dummy posts throughout multiple post types.

If you enjoyed this post, make sure to subscribe to WP Mayor’s RSS feed.

This article was filed in our archives.
Written by Jean Galea
Jean Galea is an investor, entrepreneur, and blogger. He is the founder of WP Mayor, the plugins WP RSS Aggregator and Spotlight, as well as the Mastermind.fm podcast. His personal blog can be found at jeangalea.com.

In this article

Discover More

One Response

Share Your Thoughts

Your email address will not be published. Required fields are marked *

New discoveries, every week.
Join thousands of designers, developers, and builders that come to WP Mayor to find the best guides, tools, and services for their next website. One email, once a week.
WP Mayor Newsletter

Claim Your Free Website Tip 👇

Leave your name, email and website URL below to receive one actionable improvement tip tailored for your website within the next 24 hours.

"They identified areas for improvement that we had not previously considered." - Elliot

By providing your information, you'll also be subscribing to our weekly newsletter packed with exclusive content and insights. You can unsubscribe at any time with just one click.

What's missing?