
Post Order Control – Drag & Drop Reorder Posts, Pages & Categories
v1.0.1wpunicorn · 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日
贡献者
截图







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_orderqueries. - 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 thepostordercontrol_term_orderterm meta (terms). - REST API:
GET /wp-json/postordercontrol/v1/order/{post_type}returns the post IDs in order.POSTthe same route with{"ids": [...]}to save a new order. Both need a logged-in user with permission to reorder. - Saving updates
menu_orderdirectly, 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.