开发者 |
ryanhellyer
ronalfy scottbasgaard |
---|---|
更新时间 | 2024年4月22日 13:00 |
WordPress版本: | 6.5 |
版权: | GPLv3 or later |
版权网址: | 版权信息 |
menu_order
or custom queries are, then this plugin is likely not for you.
[youtube https://www.youtube.com/watch?v=qDa6Q6mDPbo]
Features
metronet-reorder-posts
to the /wp-content/plugins/
directory.Settings->Reorder Posts
, but these should only be used for testing purposes.
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.
Examples of each are on the respective pages above. You are welcome to leave a support request if you need help with a query and we'll do our best to get back with you.The settings are located under Settings->Reorder Posts. Settings are optional, of course, as the plugin will work with no configuration. We consider the settings useful for only advanced users (i.e., users with coding experience).
There isn't one. The changes are saved automatically.
Yes, and no. There are many ways to retrieve posts using the WordPress API, and if the code has a menu_order
sort property, the changes should be reflected immediately.
Often, however, there is no menu_order
argument. In the plugin's settings, there is an "Advanced" section which will attempt to override the menu_order
property. Please use this with caution.
You are able to override the post types used via a filter (see below) or navigate to the plugin's settings and enable which post types you would like to use. `<?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; } ?>`
Yes, but be wary that the plugin now allows you to re-nest hierarchical items easily.
This plugin requires WordPress 3.7 or above. We urge you, however, to always use the latest version of WordPress.
No, but there is an add-on for this plugin called Reorder by Term you should check out.