Reorder Posts – Quick Post Type and Page Ordering

Beschreibung

Reorder Posts is a simple and flexible way to reorder posts, pages, and custom post types in WordPress using drag and drop. This plugin gives you full control over post ordering by leveraging WordPress’s built-in menu_order functionality, while keeping the interface fast, and intuitive. For those not familiar with code, the admin settings allows for auto-sorting based on post type. For hierarchical post types, the plugin supports nested pages.

Who is Reorder Posts For?

Reorder Posts is designed for developers and site builders who need precise control over how content is displayed. Whether you’re organizing landing pages, structuring custom post type archives, or manually controlling query output, this plugin provides a reliable way to define ordering without relying on publish dates or titles.

Once activated, the plugin adds a „Reorder“ submenu to supported post types in the WordPress dashboard. For custom post types that do not have an interface, you can click a shortcut to reorder the post type from within the admin settings. From there, you can drag and drop posts, pages, and post types into the exact order you need. Changes are saved automatically, so there’s no need for a save button or extra clicks.

What Post Types and Queries Does Reordering Support?

This plugin works seamlessly with both standard posts, pages, and custom post types. It also supports hierarchical post types, allowing you to reorder and re-nest items like pages or nested content structures. This makes it especially useful for sites that rely on structured content, such as documentation, courses, or directories. For hidden post types (post types that expose no UI), you can reorder these post types from a shortcut within the Reorder Posts admin settings.

Because the plugin uses the native menu_order field, it integrates cleanly with WordPress queries. If your queries already support ordering by menu_order, your changes will appear instantly on the front-end. If not, the plugin includes advanced options in the Reorder admin settings to help override default query behavior when needed.

Reorder Posts does not auto-sort your post types on the front-end automatically unless explicitly enabled in the admin settings. Instead, it gives you the tools to define ordering while leaving implementation decisions in your hands. This makes it ideal for developers who want flexibility without unnecessary abstraction. The admin settings for auto-sorting are completely optional.

Choosing Which Post Types to Reorder

A dedicated settings panel allows you to control which post types support reordering. By default, common post types like posts and pages are enabled, while others can be toggled on as needed. If a post type is hidden, with no visibile editing interface, you can still reorder it by enabling it and clicking the Reorder shortcut next to the post type.

For more advanced use cases, developers can hook into filters to customize behavior programmatically. This includes defining which post types are reorderable or adjusting how ordering is applied across queries.

Reordering Categories, Terms, and Posts Within Categories

If you need to reorder posts within taxonomies such as categories or terms, companion add-ons are available to extend functionality even further.

  • Reorder by Term – Reorders posts/pages/post types by which category they are in.
  • Reorder Terms – Reorders categories, terms, and any other public taxonomy.

Major Features

Key features include:

  • Drag and drop post ordering in the WordPress admin
  • Support for posts, pages, and custom post types
  • Hierarchical post type support with support for nested pages
  • Automatic saving with no manual update required
  • Developer-friendly approach using menu_order
  • Advanced settings for query overrides and post type auto-sorting

Reorder Posts is best suited for users who understand how WordPress queries work or are comfortable working with WP_Query, get_posts, or pre_get_posts. If you need full control over content ordering without sacrificing performance or simplicity, this plugin provides a clean and reliable solution.

Development

Du bist herzlich dazu eingeladen uns auf GitHub zu unterstützen.

Danksagungen

Dieses Plugin wurde ursprünglich von Metronet AS in Norwegen entwickelt.

The plugin is now independently developed by Ryan Hellyer, Ronald Huereca and Scott Basgaard.

Screenshots

  • Reorder items like posts, pages, and hierarchical post types with simple drag and drop.
  • Use the admin settings to enable post types to reorder, and perform any auto-sorting needed on the frontend.
  • Example Reorder menu showing up for pages.

Installation

Du kannst das Plugin über den WordPress Administrationsbereich installieren oder auch …

  1. Lade metronet-reorder-posts in das /wp-content/plugins/ Verzeichnis.
  2. Aktiviere das Plugin im Menü ‚Plugins‘ im WordPress Backend.

Für jeden Beitragstyp wirst du ein neues „Neu anordnen“ Untermenü sehen. Klicke einfach drauf um die Reihenfolge einer deiner Beitragstypen zu ändern. Änderungen werden automatisch gespeichert, es ist kein klicken auf eine Schaltfläche nötig.

By default, ordering is enabled for only posts and pages. A settings panel is available for determining which post types to enable ordering for.

Weitere Anpassungen sind über Hooks möglich. Sie dir Plugin Filter Liste auf GitHub an.

This tool allows you to easily reorder post types in the back-end of WordPress. Auto-sorting is available through the admin panel settings.

You’ll want to make use of WP_Query, get_posts, or pre_get_posts to modify query behavior on the front-end of your site.

Beispiele für alle sind in den jeweiligen Seiten zu finden. Falls du Hilfe mit einem Query benötigst kannst du gerne ein Support-Request hinterlassen und wir werden unser Bestes tun, dir zu helfen.

FAQ

Wo sind die Einstellungen?

You can find the settings under Settings Reorder Posts. The plugin works out of the box with no configuration, but the settings allow you to control which post types are enabled and access advanced options such as auto-sorting post types on the frontend.

Wo ist die „Speichern“ Schaltfläche beim neu anordnen?

There isn’t one. Changes are saved automatically as you drag and drop items. This keeps the workflow fast and eliminates unnecessary steps.

If you are using nested pages or hierarchical post types, you can even drag pages from one area to another, and have it saved automatically.

How does this plugin reorder posts in WordPress?

The plugin updates the built-in menu_order field for each post. WordPress supports ordering by this field, which means you can control display order when your queries use orderby => menu_order.

Do I need to modify my queries for this to work?

In many cases, yes. Your queries need to support menu_order sorting. If they already do, your changes will appear immediately. If not, you may need to adjust your query arguments or use the plugin’s advanced settings to override behavior.

If you are using query blocks or custom queries, just change the orderby parameter to work with „Menu Order.“

Does this work with custom post types?

Yes. The plugin fully supports custom post types. You can enable or disable reordering per post type in the settings panel or via filters.

Can I reorder hierarchical content like pages?

Yes. The plugin supports hierarchical post types and allows you to re-nest items. This means you can change both order and parent-child relationships visually.

Can I limit reordering to specific post types?

Yes. You can either use the settings screen or apply a filter to define exactly which post types should support reordering.

Here’s an example:

<?php

add_filter( 'metronet_reorder_post_types', 'slug_set_reorder' );
function slug_set_reorder( $post_types ) {
    $post_types = array( 'my_custom_post_type', 'my_other_post_type' );
    return $post_types;
}

?>

Does this affect front-end display automatically or support auto-sorting?

No, the plugin doesn’t automatically enable itself to sort on the frontend. There are per-post-type settings for setting a global sort, but manually doing queries or using a query block is much more flexible.

Is this plugin beginner-friendly?

This plugin is best suited for developers or users familiar with WordPress queries. If you are not comfortable working with menu_order or query arguments, you may need some additional guidance to get the most out of it.

Does it support large sites with many posts?

Yes, but for very large datasets, pagination and performance considerations apply. We don’t recommmend reordering post types that have over 1,000 items.

Where can I get help or report issues?

You can open a support request on WordPress.org or submit an issue on GitHub.

Rezensionen

6. August 2024
This is the best post order plugin available – supports hirarchical CPTs, supports children, saves the order on ajax without the need to click a button, has no bloat, simply perfect! Many thanks to the developers.
26. Dezember 2023
Thank you very much for this. The use case fits perfectly for developers indeed. It doesn’t pollute the front-end’s default view and only works when specified within custom queries. Exactly what I needed. Thank you once again, keep up the great work 👍
13. Oktober 2022
Does exactly what it says without adding complexity or additional obstacles. Thank you!
25. September 2020
Thank you for this very handy plugin to allow me to provide drag and drop reordering to my client for a custom post type I created.
23. Oktober 2019
The posts were in no particular order when in settings. Was expecting them to be ordered by date like they are in „all posts“. It was random and the other settings wasn’t able to adjust that.
Alle 28 Rezensionen lesen

Mitwirkende und Entwickler

„Reorder Posts – Quick Post Type and Page Ordering“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Reorder Posts – Quick Post Type and Page Ordering“ wurde in 7 Sprachen übersetzt. Danke an die Übersetzer für ihre Mitwirkung.

Übersetze „Reorder Posts – Quick Post Type and Page Ordering“ in deine Sprache.

Interessiert an der Entwicklung?

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

Änderungsprotokoll

2.6.0

  • Released 2026-03-23
  • Fix: Default post types that are enabled are only post and page. The rest should be opt-in.
  • Fix: All post types were having menus registered, even when they weren’t explicitly enabled.
  • New: Reorder Posts shortcut shows up next to each post type in admin settings (if enabled).
  • New: Post types with no top-level menu now are visible at the root level and can be accessed via the admin shortcuts.

2.5.3

  • Released 2022-05-27
  • Cache busting for people who are receiving script errors around Nested Sortable.

2.5.1

  • Released 2022-02-14
  • Fixing sortable script with newer versions of jQuery sortable.

2.5.0

  • Released 2020-11-18
  • Fixing sortable script with newer versions of jQuery.

2.4.1

  • Released 2019-02-16
  • Added query to reorder posts for an example
  • Option to turn off query output

2.4.0

  • Released 2016-08-14
  • Major CSS overhaul inspired by the Nested Pages plugin
  • The sorting is now mobile friendly

2.3.0

  • Released 2016-08-12
  • Added screen options to set the number of posts displayed

2.2.2

  • Veröffentlicht 04.12.2015
  • Fehlerhafte Anzeige der Lade-Animation behoben

2.2.1

  • Veröffentlicht 09.11.2015
  • Navigationsfehler behoben

2.2.0

  • Veröffentlicht 1.11.2015
  • Die Ladeanimation wird nun inline angezeigt

2.1.5

  • Am 02. 10. 2015 veröffentlicht
  • Navigationsfehlerfehler im Backend behoben

2.1.4

  • Am 20. 08. 2015 für WordPress 4.3 aktualisiert
  • Am 24. 04. 2015 veröffentlicht
  • Cache-Leerung beim Neuanordnen hinzugefügt
  • Deutsche Übersetzung hinzugefügt
  • WordPress 4.2 Kompatibilität überprüft

2.1.2

  • Am 28. 01. 2015 veröffentlicht
  • Entwicklernotiz entfernt

2.1.1

  • Am 21. 01. 2015 veröffentlicht
  • Navigationsfehler behoben
  • Effizient der Datenspeicherung deutlich erhöht

2.1.0

  • Am 19. 01. 2015 veröffentlicht
  • Addon support hinzugefügt
  • Neuanordnen kann nur noch mit der edit_pages Berechtigung getan werden
  • Zur Steigerung der Effizienz wurde eine Seitennavigation eingebaut
  • Queries wurden für höhere Effizienz optimiert
  • Warnmeldung für viele Beiträge hinzugefügt

2.0.2

  • Am 26. 12. 2014 veröffentlicht
  • Bug Fix: Das Speichern der Einstellungen löste mehrere PHP Fehler aus
  • Bug Fix: Abfrage mehrerer Beitragstypen erfolgte in PHP illegal offset Fehler

2.0.1

  • Am 23. 12. 2014 veröffentlicht
  • Dokumentation für Mitwirkende angepasst
  • Filter um herausfinden, wo das Reorder Untermenü angezeigt wird, hinzugefügt
  • Untermenü Überschriften reflektieren nun den jeweiligen Beitragstyp
  • Anzeigefehler behoben, falls keine Beiträge vorhanden sind
  • Klassennamen angepasst, um einzigartiger zu sein

2.0.0

  • Am 12.12.2014 veröffentlicht
  • Einstellung um das Plugin für gewisse Beitragstypen zu (de-)aktivieren hinzugefügt.
  • Erweiterte Einstellungen um die Reihenfolge von Beitragstypen zu überschreiben hinzugefügt
  • Übersetzungsmöglichkeiten hinzugefügt.
  • Anpassungen der Benutzeroberfläche

1.0.6

  • Am 11. 12. 2014 aktualisiert – WordPress 4.1 Kompatibilität überprüft
  • Am 19. 07. 2013 veröffentlicht
  • Neuer Filter um die unterstützten Beitragstypen anzupassen
  • Danke an mathielo für den Vorschlag und den Code-Beitrag

1.0.5

  • Am 09. 08. 2012 veröffentlicht
  • Aufklappen, Zusammenklappen Funktionalität für verschachtelte Beitragstypen hinzugefügt
  • Bessere Seitenerkennung für Skripte und Stile

1.0.4

  • Am 11. 07. 2012 veröffentlicht
  • Support für hierarchische Beitragstypen hinzugefügt

1.0.3

  • Am 09. 05. 2012 veröffentlicht
  • Bildschirmfoto aktualisiert
  • Funktionen-Prefix korrigiert
  • Zusätzlich: Readme.txt angepasst (Versionsnummer wurde nicht angepasst)

1.0.2

  • Am 09. 05. 2012 veröffentlicht
  • Möglichkeit Beitragstypen von Beiträgen neu anzuordnen hinzugefügt
  • Bug in ursprünglicher Anordnung behoben

1.0.1

  • Möglichkeit den Menünamen über ein Klassenargument zu ändern hinzugefügt
  • Support für nicht-hierarchische Beitragstypen entfernt

1.0

  • Ursprüngliche Plugin Veröffentlichung