跳到内容

Post Order Control – Drag & Drop Reorder Posts, Pages & Categories

v1.0.1

wpunicorn · 2025年10月4日 上架

Reorder posts, pages, custom post types, categories and tags with drag and drop. Uses menu_order, so the order works with any theme.

正在使用
10+
评分
5.0 / 5
累计下载
757
最近更新
2026年11月11日
1 条评价需要 WordPress 5.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

Drag a post to a new position in the All Posts list. The order saves when you drop it.
Drag a post to a new position in the All Posts list. The order saves when you drop it.
Reorder any custom post type, such as a portfolio.
Reorder any custom post type, such as a portfolio.
Reorder pages; child pages stay under their parent. A notice confirms each save.
Reorder pages; child pages stay under their parent. A notice confirms each save.
Put categories, tags and custom taxonomy terms in your own order.
Put categories, tags and custom taxonomy terms in your own order.
General settings: choose post types, who can reorder and where the order is applied.
General settings: choose post types, who can reorder and where the order is applied.
Advanced settings: taxonomy ordering, export, import and reset.
Advanced settings: taxonomy ordering, export, import and reset.
The built-in How To tab with copy-and-paste code examples.
The built-in How To tab with copy-and-paste code examples.

Post Order Control lets you change the order of posts, pages and custom post types by dragging rows in the normal WordPress admin lists. Drop a row and the new order is saved. There is no extra screen to learn and nothing to configure before your first drag.

The order is stored in WordPress’s own menu_order field, the same field core uses for page order. Themes, page builders and queries that sort by “menu order” pick up your order with no extra code. Turn on Auto Apply Sort and your home page, archives and search results follow it too.

You can also put categories, tags and custom taxonomy terms in any order you like.

What you can reorder

  • Posts: put a featured or evergreen post at the top of your blog.
  • Pages: set the order of page lists such as the Page List block. Parent and child pages keep their structure.
  • Custom post types: portfolio projects, team members, services, testimonials, FAQs, events, products or any other public post type.
  • Categories, tags and custom taxonomies: control the order of terms in your lists and navigation.

Features

  • Drag and drop in the lists you already use: All Posts, All Pages, any custom post type list and the category or tag screens.
  • Saves on drop: no “save order” button. A notice confirms the order was saved.
  • Works on every page of the list: reorder page 2, a filtered view or search results and every other post keeps its place.
  • Auto Apply Sort: show the custom order on the home page, archives and search results without editing your theme.
  • Admin order: the admin lists show your custom order. Click a column such as Date or Title to sort by it instead.
  • Choose post types and taxonomies: turn ordering on only where you need it.
  • Permission aware: by default anyone who can edit posts can reorder the posts they are allowed to edit. You can limit reordering to administrators.
  • Export, import and reset: back up your ordering as JSON and restore it on the same site.
  • Developer friendly: a helper function, a REST API endpoint and standard menu_order queries.
  • Lightweight: no custom database tables, and scripts load only on the screens that use them.
  • Translation ready: every admin and JavaScript string can be translated.

Show the order on your site

Option 1: Auto Apply Sort (no code).
Turn on Settings Post Order Control Auto Apply Sort. The home page, archives and search results of the enabled post types then use your order.

Option 2: Sort by menu order in your own query.
Blocks, widgets and custom queries that run their own query need orderby set to menu_order:

$query = new WP_Query( array(
    'post_type' => 'portfolio',
    'orderby'   => 'menu_order',
    'order'     => 'ASC',
) );

Many page builder post widgets have a “Menu order” sort option. Choose it to use your order.

Option 3: Helper function.

$posts = postordercontrol_get_ordered_posts( array(
    'post_type'      => 'post',
    'posts_per_page' => 10,
) );

Show categories and tags in your order

wp_list_categories( array(
    'orderby'  => 'meta_value_num',
    'meta_key' => 'postordercontrol_term_order',
    'order'    => 'ASC',
) );

The same arguments work with get_terms() for tags and custom taxonomies.

For developers

  • Order is stored in menu_order (posts) and the postordercontrol_term_order term meta (terms).
  • REST API: GET /wp-json/postordercontrol/v1/order/{post_type} returns the post IDs in order. POST the same route with {"ids": [...]} to save a new order. Both need a logged-in user with permission to reorder.
  • Saving updates menu_order directly, so post content and modified dates are left untouched.

Privacy

Post Order Control does not collect, store or send any personal data. Ordering is saved in your own database.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums