| 开发者 |
ryanhellyer
ronalfy scottbasgaard |
|---|---|
| 更新时间 | 2026年4月17日 16:20 |
| WordPress版本: | 7.0 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
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.
[youtube https://www.youtube.com/watch?v=qDa6Q6mDPbo]
metronet-reorder-posts to the /wp-content/plugins/ directory.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.
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.
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.
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."
Yes. The plugin fully supports custom post types. You can enable or disable reordering per post type in the settings panel or via filters.
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.
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; } ?>`
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.
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.
Yes, but for very large datasets, pagination and performance considerations apply. We don't recommmend reordering post types that have over 1,000 items.
You can open a support request on WordPress.org or submit an issue on GitHub.