The simplest way to change a post's type in WordPress
Switch branches/tags
Clone or download
JJJ Add `post_type` column to post types with matching args.
This is in addition to just strictly pages and posts.
Latest commit a3f11dc Feb 16, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/js Only append after the `:first` quick-edit column. Feb 16, 2018
.gitignore Clean up gitignore. Sep 19, 2015
CHANGELOG.md Bump to 3.1.0. Feb 16, 2018
LICENSE Initial commit Sep 23, 2014
README.md Hello, CHANGELOG.md. Apr 25, 2016
post-type-switcher.php Add `post_type` column to post types with matching args. Feb 16, 2018
readme.txt Bump to 3.1.0. Feb 16, 2018

README.md

Post Type Switcher

The simplest way to change a post's type in WordPress

Description

This plugin adds a simple post type dropdown to the post editor interface, allowing you to reassign any post to a new post type. It allows you to switch post's type while editing your post.

Supported Types

The plugin can convert nearly every combination of posts, pages, attachments, and even custom post types:

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

Invisible post types, such as revisions, menus, etc., are purposely excluded. But, if you need to access invisible post types, you can adjust the boundaries using the 'pts_post_type_filter' filter.

Bulk Editing

With bulk editing, thanks to Matthew Gerring, you can select all the posts in a certain type and convert them to a new type with one quick action.

Installation

Installation

  1. In your WordPress Dashboard go to "Plugins" -> "Add Plugin".
  2. Search for "Post Type Swticher".
  3. Install the plugin by pressing the "Install" button.
  4. Activate the plugin by pressing the "Activate" button.
  5. From the post edit screen, above the "Publish" button is the "Post Type" interface.
  6. Change post types as needed.

Minimum Requirements

  • WordPress version 3.0 or greater.
  • PHP version 5.2.4 or greater.
  • MySQL version 5.0 or greater.

Recommended Requirements

  • Latest WordPress version.
  • PHP version 5.6 or greater.
  • MySQL version 5.5 or greater.

Frequently Asked Questions

Why would I need this?

You need to selectively change a posts type from one to another.

Does this ruin my taxonomy associations?

It should not. This plugin only changes the 'post_type' property of a post.

Screenshots

  1. "Type" column in "Posts" screen.
  2. "Post Type" interface in "Quick Edit".
  3. "Post Type" interface in "Edit Post" screen.