Linux 软件免费装
Banner图

Reorder Posts

开发者 ryanhellyer
ronalfy
scottbasgaard
更新时间 2024年4月22日 13:00
WordPress版本: 6.5
版权: GPLv3 or later
版权网址: 版权信息

标签

reorder reorder posts

下载

1.0.3 1.0.4 1.0.5 1.0.6 2.0.0 2.0.1 2.0.2 2.1.0 2.1.2 2.1.4 2.1.5 2.2.0 2.2.1 2.2.2 2.3.0 2.4.0 2.4.1 2.5.0 2.5.2 1.0.2 2.1.1 2.5.1 2.5.3

详情介绍:

A simple and easy way to reorder your custom post-type posts in WordPress. Adds drag and drop functionality for post ordering in the WordPress admin panel. Works with custom post-types and regular posts. We consider Reorder Posts a developer tool. If you do not know what menu_order or custom queries are, then this plugin is likely not for you. [youtube https://www.youtube.com/watch?v=qDa6Q6mDPbo] Features Add-ons Spread the Word If you like this plugin, please help spread the word. Rate the plugin. Write about the plugin. Something :) 翻译 If you would like to contribute a translation, please leave a support request with a link to your translation. You are welcome to help us out and contribute on GitHub. Support Please feel free to leave a support request here or create an issue on GitHub. If you require immediate feedback, feel free to @reply us on Twitter with your support link: (@ryanhellyer or @ronalfy). Support is always free unless you require some advanced customization out of the scope of the plugin's existing features. We'll do our best to get with you when we can. Please rate/review the plugin if we have helped you to show thanks for the support. 鸣谢 This plugin was originally developed for Metronet AS in Norway. The plugin is now independently developed by Ryan Hellyer, Ronald Huereca and Scott Basgaard.

安装:

Either install the plugin via the WordPress admin panel, or ...
  1. Upload metronet-reorder-posts to the /wp-content/plugins/ directory.
  2. 通过 WordPress 的“插件”菜单以激活本插件。
For each post type, you will see a new "Reorder" submenu. Simply navigate to "Reorder" to change the order of your post types. Changes are saved immediately, there is no need to click a save or update button. By default, ordering is enabled for all post types. A settings panel is available for determining which post types to enable ordering for. Advanced customization is allowed via hooks. See the Plugin Filters on GitHub. This tool allows you to easily reorder post types in the back-end of WordPress. How the posts are sorted in the front-end is entirely up to you, as it should be. We do have advanced settings under 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.

屏幕截图:

  • Admin panel settings

升级注意事项:

2.5.3 Cache busting for people who are receiving script errors around Nested Sortable.

常见问题:

Where's the settings page?

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).

Where is the "save" button when re-ordering?

There isn't one. The changes are saved automatically.

Do I need to add custom code to get this to work?

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.

Can I use this on a single post type?

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; } ?>`

Does the plugin work with hierarchical post types?

Yes, but be wary that the plugin now allows you to re-nest hierarchical items easily.

Does it work in older versions of WordPress?

This plugin requires WordPress 3.7 or above. We urge you, however, to always use the latest version of WordPress.

Does this sort posts within a category (i.e., a term)?

No, but there is an add-on for this plugin called Reorder by Term you should check out.

更新日志:

2.5.3 2.5.1 2.5.0 2.4.1 2.4.0 2.3.0 2.2.2 2.2.1 2.2.0 2.1.5 2.1.4 2.1.2 2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0