Post Type Switcher

Beschreibung

Dieses Plugin fügt der Eingabemaske des Beitrags-Editor ein einfaches Drop-down-Feld Beitragsart hinzu, dass die Neuzuordnung jedes Beitrags zu einem neuen Inhaltstyp ermöglicht. Es ermöglicht dir, den Inhaltstyp zu ändern, während du deinen Beitrag bearbeitest.

Unterstütze Arten

Das Plugin kann fast jede Kombination von Beiträgen, Seiten, Anhängen und selbst individuelle Inhaltstypen konvertieren:

  • Seite zu Beitrag
  • Beitrag zu Seite
  • Beitrag zu benutzerdefiniert
  • Custom to Custom

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

Unsichtbare Beitragsarten wie Revisionen, Menüs, usw. werden absichtlich ausgeschlossen. Aber wenn du auf unsichtbare Beitragsarten zugreifen möchtest, kannst du die Grenzen durch Verwendung des Filters ‚pts_post_type_filter‘ anpassen.

Massenbearbeitung

Mit Massenbearbeitung (dank Matthew Gerring) kannst du alle Beiträge eines bestimmten Typs auswählen und kurzerhand in einen neuen Typ konvertieren.

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.

Screenshots

  • Spalte "Art" in der Ansicht "Beiträge".
  • Eingabemaske „Inhaltstyp“ unter „QuickEdit“.
  • Eingabemaske "Beitragsart" in Ansicht "Beitrag bearbeiten".

Installation

Installation

  1. Gehe in deinem WordPress Dashboard auf „Plugins“ -> „Plugin hinzufügen“.
  2. Suche nach „Post Type Switcher“.
  3. Installiere das Plugin durch Drücken des Buttons „Installieren“.
  4. Aktiviere das Plugin durch Drücken des Buttons „Aktivieren“.
  5. Aus der Anzeige Beitrag bearbeiten, oberhalb des Button „Veröffentlichen“ ist die Eingabemaske „Beitragsart“.
  6. Ändere Beitragsarten wie erforderlich.

Mindestanforderungen

  • WordPress-Version 5.0 oder höher.
  • PHP-Version 7.0.0 oder höher.
  • MySQL-Version 5.7 oder höher.

Empfohlene Voraussetzungen

  • Neuste WordPress-Version.
  • PHP-Version 8.0 oder höher.
  • MySQL version 8.0 or greater, or MariaDB 10.5 or greater.

FAQ

Warum sollte ich das brauchen?

Du musst ausgewählt eine Beitragsart zur anderen ändern.

Ruiniert das meine Taxonomie-Zuweisungen?

Sollte es nicht. Das Plugin ändert nur die ‚post_type‘-Eigenschaft eines Beitrags.

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 WordPress.org support forums.

Rezensionen

7. Februar 2024
Outstanding clean, simple and awesome plugin. Saved me maaany hours tonight! Big thanks!!
31. Januar 2024
Great and simple, even if you only change a few posts, you save a tangible amount of time. Thanks!
22. Januar 2024
Thank you SO MUCH for this plugin! I don't know why WordPress removed this feature. We had an older site where some pages were made as posts. Your plugin worked perfectly, and enabled us to convert those pages to posts. Thank you again!!
26. Oktober 2023
Thank you, very good plugin, I changed 50 articles into pages in 2 minutes!
Alle 234 Rezensionen lesen

Mitwirkende & Entwickler

„Post Type Switcher“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Post Type Switcher“ wurde in 30 Sprachen übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „Post Type Switcher“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

3.3.0

  • Hide the „Type“ column by default

3.2.1

  • Update author
  • Add sponsor link

3.2.0

  • Block editor support

3.1.0

  • Fix post targeting when called recursively

3.0.0

  • Verbesserte Unterstützung für QuickEdit und Massenverarbeitung
  • 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