Post Type Switcher


Cette extension ajoute une simple liste déroulante des types de publication dans l’interface de l’éditeur de publication pour vous autoriser à réaffecter n’importe quelle publication en un nouveau type de publication. L’extension vous autorise à modifier le type de publication lors de la modification de votre publication.

Supported Types

L’extension peut convertir à peu près toutes les combinaisons d’articles, pages, et même les types de publication personnalisés :

  • Page en article
  • Article en page
  • Article en personnalisé
  • Personnalisé en Personnalisé

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

Les types de publication invisibles, comme les révisions, les menus, etc., sont volontairement exclus. Mais si vous avez besoin d’accéder aux types de publication invisibles, vous pouvez ajuster les limitations en utilisant le filtre ‘pts_post_type_filter’.

Bulk Editing

Avec la modification en masse (merci à Matthew Gerring) vous pouvez sélectionner toutes les publications d’un certain type et les convertir en un nouveau type en une seule action rapide.

Block Editor

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.

Captures d’écran

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



  1. In your WordPress Dashboard go to « Plugins » -> « Add Plugin ».
  2. Search for « Post Type Switcher ».
  3. Install the plugin by pressing the « Install » button.
  4. Activate the plugin by pressing the « Activate » button.
  5. À partir de l’écran de modification de la publication, au-dessus du bouton « Publier » se trouve l’interface de « Type de publication ».
  6. Modifiez les types de publication selon vos besoins.

Prérequis minimum

  • WordPress version 5.0 or greater.
  • PHP version 7.0.0 or greater.
  • MySQL version 5.7 or greater.

Prérequis recommandés

  • Latest WordPress version.
  • PHP version 8.0 or greater.
  • MySQL version 8.0 or greater, or MariaDB 10.5 or greater.


Pourquoi en aurais-je besoin ?

Vous devez modifier sélectivement le type de publication de l’un à l’autre.

Does this ruin my taxonomy associations?

Cela ne devrait pas être le cas. Cette extension modifie uniquement la propriété ‘post_type’ d’une publication.

Does this ruin block-editor content?

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

Will this delete my content?

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.

If you’re still worried, ask for help in the support forums.


1 avril 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!
25 mars 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!
20 mars 2021
I frequently switch a front-page piece to a post and vice versa. This plugin does the job perfectly.
14 mars 2021
One thing that really annoys me is one-stars people have given. Would you like a YouTube video showing the install of the plugin and usage? Also what do you think about an "Ask for help" link in the plugin list? If you have these, maybe we could collaborate on adding it to the public plugin page, so that there is no excuse to < 4-5 star this plugin? Again. Great plugin.
14 mars 2021
If you have imported or added loads of posts in the wrong post type, you needn't curse. Just install and convert the posts to the needed one. That's what this plugin does for me. Has saved my bacon so many times. Highly recommended.
9 mars 2021
This plugin worked seamlessly with around 150 pages that I needed converted to posts. For some reason this plugin is not supported on Not sure why.
Lire les 190 avis

Contributeurs & développeurs

« Post Type Switcher » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.


“Post Type Switcher” a été traduit dans 25 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Post Type Switcher » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.



  • Block editor support


  • Fix post targeting when called recursively


  • 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


  • Ensure quick-edit works with new procedure
  • Quick-edit « Type » column works again!


  • Improved plugin compatibility with WooThemes Sensei
  • Filter post arguments vs. hook to save_post
  • Add « post_type_switcher » action


  • Add support for network activation


  • Add textdomains for localization
  • 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
  • Security: Translation strings escaping
  • Add screenshots

1.5.0 – norcross

  • Fix multiple quickedit dropdowns


  • Improve handling of non-public post types


  • Fix saving of autodrafts


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


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


  • Add is_admin() check to prevent theme-side interference
  • Change save_post priority to 999 to avoid plugin compatibility issues
  • Remove ending closing php tag
  • HTML and PHPDoc improvements


  • Fix revisions being nooped
  • Fix malformed HTML for some user roles
  • Make a singleton (meh…)


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


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


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


  • Release