Post Type Switcher

Description

This plugin adds a simple post-type drop-down 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.

Ebika Ebikirizibwa

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

  • Olupapula ku Kiwandiiko
  • Ekiwandiko ku Lupapula
  • Ekiwandiko ku Kika Ekipya
  • Kika ku Kika

As of 3.0.0, support for switching to or from Attachments was removed. This may come back in a subsequent version.

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.

Ekuterezza mu bungi

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.

Edita ya buloka

With block-editor (aka Gutenberg) support (thanks to Daniel Bachhuber) you can switch between post-types that use either the Block Editor and the Classic one, without losing any of your embedded content.

Screenshots

  • "Type" column in "Posts" screen.
  • "Post Type" interface in "Quick Edit".
  • "Post Type" interface in "Edit Post" screen.

Installation

Okuyungako

  1. In your WordPress Dashboard go to “Plugins” -> “Add Plugin”.
  2. Nonya “Post Type Switcher”.
  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. Kyussa ebiwandiiko nga bwoyagala.

Ebyetago ebisokerwako

  • Ekika kya WordPress 5.0 oba okusingako.
  • Ekika kya PHP 7.0.0 oba okusingako.
  • Ekika kya MySQL 5.7 oba okusingako.

Ebyetago ebisembiddwa

  • Ekika kya WordPress ekipya.
  • Ekika ya PHP 8.0 oba okusingako.
  • Ekika kya MySQL 8.0 or greater, oba Ekika kya MariaDB 10.5 oba okusingako.

FAQ

Lwaki kino nkyetaaga?

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.

Kino kyonona ebiwandiko bya buloka edita?

It should not. Be careful when editing HTML content while switching between editor types!

Kino kina sangula ebiwandiko byange?

No. This plugin does not include any code capable of deleting anything.

Plugin conflicts are not unheard of and can be difficult to troubleshoot.

If you’re worried, backup your database and deactivate all other plugins before using this tool.

Woba oky’elalikiridde, saba obuyambi okuva mu bi mezza byobuyambi bya WordPress.org.

Reviews

Muzigo 13, 2021
Does exactly what it says and saves me a lot of time
Muzigo 11, 2021
Awesome plugin, it saved me messing around in MySQL. Many thanks for a great plugin. works perfectly, and the bulk edit is a massive time saver.
Kafuumuulampawu 27, 2021
I use a custom post type on a lot of my sites, along with SiteOrigin Page Builder. SiteOrigin's 'Layout Importer' is great for copying page content, but it doesn't copy over custom fields or SEO meta data. This plugin allows me to skip all that and just create a direct copy of a page then change it to the custom post type - sooo much quicker!
Kafuumuulampawu 1, 2021
There’s really no other option when you need to filter out posts by type. It would be a nightmare to do it manually, so this plug in is one of a kind! Really helpful and works perfectly. Thanks a lot!
Mugulansigo 25, 2021
This was just what I needed to convert a ton of pages to projects and posts. My one concern was that it wasn't a physical move but it appears to me it's moving over all my content properly. As a test I tried disabling the plugin and everything stayed where it was moved. THANK YOU!
Mugulansigo 20, 2021
I frequently switch a front-page piece to a post and vice versa. This plugin does the job perfectly.
Read all 193 reviews

Contributors & Developers

“Post Type Switcher” is open source software. The following people have contributed to this plugin.

Contributors

“Post Type Switcher” has been translated into 25 locales. Thank you to the translators for their contributions.

Translate “Post Type Switcher” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

3.2.0

  • Okuyambibwa kwa Buloka edita

3.1.0

  • Fix post targeting when called recursively

3.0.0

  • Improved Quick-Edit and Bulk-Edit support
  • Remove attachment type support for now, as there is no way to switch back
  • Fix bug causing some post-types to switch unexpectedly

2.0.1

  • Ensure quick-edit works with new procedure
  • Quick-edit “Type” column works again!

2.0.0

  • Improved plugin compatibility with WooThemes Sensei
  • Filter post arguments vs. hook to save_post
  • Yongerako action ya “post_type_switcher”

1.7.0

  • Gatako obuyambi bwa network activation

1.6.0

  • Gatako textdomains ku lwe nimi
  • Load translation strings using load_plugin_textdomain()
  • Before saving data chack if it’s not an autosave using wp_is_post_autosave()
  • Before saving data chack if it’s not a revision using wp_is_post_revision()
  • Security: Prevent direct access to directories
  • Okwerinda: Okuvunula ebigambo bulungi
  • Gatako ebifanaanyi

1.5.0 – norcross

  • Fix multiple quickedit dropdowns

1.4.0

  • Improve handling of non-public post types

1.3.0

  • Fix saving of autodrafts

1.2.1

  • Improved WordPress 3.9 integration (added dashicon to publish metabox)

1.2.0

  • Add bulk editing to supported post types
  • Props Matthew Gerring for bulk edit contribution

1.1.1

  • Add is_admin() check to prevent theme-side interference
  • Change save_post priority to 999 to avoid plugin compatibility issues
  • Jamu taga ya php esembayo
  • Ebiterezzeddwa mu HTML ne PHPDoc

1.1.0

  • Fix revisions being nooped
  • Terezza HTML ku bakozessa abamu
  • Kola singleton (oba…)

1.0.0

  • Longossa JS
  • Audit post save bail conditions
  • Tweak UI for WordPress 3.3

0.3.0

  • Use the API to change the post type, fixing a conflict with persistent object caches
  • JavaScript Teyetagissa

0.2.0

  • Disallow post types that are not public and do not have a visible UI

0.1.0

  • Enkola Empya