Post Type Switcher

Descripción

Este plugin añade un simple desplegable de tipos de contenido a la interfaz del editor de contenidos, que te permite reasignar cualquier contenido a un nuevo tipo de contenido. Te permite cambiar el tipo de contenido mientras lo editas.

Tipos compatibles

El plugin puede convertir casi cualquier combinación de entradas, páginas e incluso tipos de contenido personalizados:

  • Página a entrada
  • Entrada a página
  • Entrada a personalizado
  • Personalizado a Personalizado

A partir de la versión 3.0.0 se ha eliminado la capacidad de cambiar de o a adjuntos. Esta posibilidad puede volver en una versión posterior.

Los tipos de contenido invisibles, como revisiones, menús, etc., se excluyen a propósito. Pero, si necesitas tener acceso a los tipos de contenido invisibles, puedes ajustar los límites mediante el filtro ‘pts_post_type_filter’.

Edición por lotes

Mediante la edición por lotes (gracias a Matthew Gerring) puedes seleccionar todos los contenidos de un tipo determinado y convertirlos a un nuevo tipo con una sola acción rápida.

Editor de bloques

Gracias a la compatibilidad con el editor de bloques (también conocido como Gutenberg) (gracias a Daniel Bachhuber) puedes cambiar entre los tipos de contenido que utilizan el editor de bloques y el clásico, sin perder nada de tu contenido incrustado.

Capturas

  • Columna «Tipo» en la pantalla «Entradas».
  • Interfaz «Tipo de contenido» en «Edición rápida».
  • Interfaz «Tipo de contenido» en la pantalla «Editar entrada».

Instalación

Instalación

  1. En tu escritorio de WordPress, ve a «Plugins» -> «Añadir plugin».
  2. Busca «Post Type Switcher».
  3. Para instalar el plugin, pulsa el botón «Instalar».
  4. Activar el plugin pulsando el botón «Activar».
  5. En la pantalla de edición de contenidos, encima del botón «Publicar» se encuentra la interfaz «Tipo de contenido».
  6. Cambia tipos de contenido cuando lo necesites.

Requisitos mínimos

  • WordPress versión 5.0 o superior.
  • PHP versión 7.0.0 o superior.
  • MySQL versión 5.7 o superior.

Requisitos recomendados

  • Última versión de WordPress.
  • PHP versión 8.0 o superior.
  • MySQL versión 8.0 o superior o MariaDB 10.5 o superior.

FAQ

¿Por qué necesito esto?

Si tienes que cambiar el tipo de una entrada a otro de forma selectiva.

¿Esto se carga mis asociaciones de taxonomías?

No debería. Este plugin solo cambia la propiedad ‘post_type’ de las entradas.

¿Arruina esto los contenidos del editor de bloques?

No debería. Ten cuidado al editar contenido HTML mientras cambias de tipo de editor.

¿Se borrará mi contenido?

No. Este plugin no incluye ningún código capaz de borrar nada.

Los conflictos entre plugins no son inauditos y pueden ser difíciles de diagnosticar.

Si te preocupa, haz una copia de seguridad de tu base de datos y desactiva todos los demás plugins antes de utilizar esta herramienta.

Si todavía estás preocupado, pide ayuda en los foros de soporte de WordPress.org.

Reseñas

30 de enero de 2026
I’ve used this plugin for a while now and it’s amazing. Saves me a ton of time and is simply straightforward.
24 de julio de 2025
Extremely useful plugin if you have migrated your site from Joomla and all your content is migrated as posts. Post Type Switcher allows you to quickly switch relevant items from posts to pages. Also very useful if you use custom post types and need to migrate content between types which you can do in a matter of seconds.
21 de julio de 2025
I have been using this plugin for several years now and have come to find that it’s a regular part of my routine now when I decide that a new custom post type is needed for a site, and super easy to move pages or posts to other post types when needed. I also use page builders and have not seen any issues as a result of using this plugin as all the postmeta is still there. If it’s missing in the new post type then that means the new post type didn’t support it. What I typically do is use another plugin to clone the page or post, and then move that to the new post type. That’s a good way to not disturb the current setup while working on the new post type and implementing features or building onto things. I’m amazed how some sites that I help with have 1,000+ pages (before I came into the project). When I go through those sites I can usually come up with 3 or 4 post types that will help declutter, or put things that should have never been in «pages» into their own space. Post Type Switcher is so great at helping move things – and then we just set up some 301 redirects to preserve SEO and prevent 404 errors.
Leer todas las 252 reseñas

Colaboradores y desarrolladores

«Post Type Switcher» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Post Type Switcher» está traducido en 34 idiomas. Gracias a los traductores por sus contribuciones.

Traduce «Post Type Switcher» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

4.0.1

  • Prevent Authors & Contributors from changing types on posts of Editors & Admins

4.0.0

  • Requires WordPress 6.2
  • Requires PHP 8.0
  • Improve block editor styling
  • Stash original & previous types in post meta
  • Add pts_get_post_types_filter filter
  • Load textdomain on init instead of plugins_loaded

3.3.0

  • Hide the «Type» column by default

3.2.1

  • Update author
  • Add sponsor link

3.2.0

  • Compatibilidad con el editor de bloques

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
  • Add «post_type_switcher» action

1.7.0

  • Add support for network activation

1.6.0

  • 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

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
  • Remove ending closing php tag
  • HTML and PHPDoc improvements

1.1.0

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

1.0.0

  • Fix JS bugs
  • 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
  • No longer requires JavaScript

0.2.0

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

0.1.0

  • Release