WordPress

How to Convert Post Types in WordPress

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

If you purchase through a link on our site, we may earn a commission.

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 is an investor, entrepreneur, and writer. He is the founder of WP Mayor, and the plugins WP RSS Aggregator and Spotlight. He also runs the Good Life Collective. Connect with him on X or visit jeangalea.com.

If you purchase through a link on our site, we may earn a commission.

One Response

Latest Articles from the Blog

Stay updated with WP Mayor's newsletter.

Discover the best and latest tools and services in WordPress every month.