How to Convert Post Types in WordPress

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.
Table of Contents
WP Engine High Performance Hosting
BionicWP Hosting

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.

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.

Discover more from our archives ↓

Popular articles ↓

One Response

Share Your Thoughts

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

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.