Linux 软件免费装
Banner图

Reorder by Term

开发者 ronalfy
bigwing
更新时间 2026年3月24日 08:54
捐献地址: 去捐款
WordPress版本: 7.0
版权: GPLv3 or later
版权网址: 版权信息

标签

category reorder reorder by term

下载

1.2.0 1.0.0 1.2.2 1.1.0 1.2.3 1.3.0 1.3.1

详情介绍:

We consider Reorder By Term a developer tool. If you do not know what menu_order or custom queries are, then this plugin is likely not for you. This is an add-on to Reorder Posts and requires Reorder Posts 2.1.0 or greater. Out of the box, WordPress does not support the ability to reorder posts within a term. There are other plugins out there that do term ordering, but they usually create custom tables (which require crazy custom queries and filters) and/or add a column or two to core tables, which is not sustainable in the long-term should WordPress core decide to update its schema. Reorder by Term uses custom fields, which means you can reorder by term within each taxonomy AND post type. This is insanely flexible. Since WordPress doesn't support this by default, when you install the plugin, you'll have to build the term data. For a lot of posts and terms, this can take a while, but you can limit the build to post types and taxonomies if, for example, you don't want to touch regular blog posts (with categories and tags). 产品特点 口耳相传 If you like this plugin, please help spread the word. Rate the plugin. Write about the plugin. Something :) 翻译 None so far. If you would like to contribute a translation, please leave a support request with a link to your translation. 开发 Development happens on GitHub. You are welcome to help us out and contribute on GitHub. 技术支持 Please feel free to leave a support request here or create an issue on GitHub. If you require immediate feedback, feel free to @reply me on Twitter with your support link: @ronalfy. Support is always free unless you require some advanced customization out of the scope of the plugin's existing features. Please rate/review the plugin if we have helped you to show thanks for the support.

安装:

Either install the plugin via the WordPress admin panel, or ...
  1. Upload reorder-by-term to the /wp-content/plugins/ directory.
  2. 通过 WordPress 的“插件”菜单激活插件。
This plugin requires Reorder Posts 2.1.0 or greater. When you first install the plugin, you'll need to build term data. Head to Tools->Build Post Term Data. From there, you can build the term data based on the taxonomies you select. You can also start over and clear the existing term data. Please note that this plugin does not change the order of items in the front-end. This functionality is not core WordPress functionality, so it'll require some work on your end to get the posts to display in your theme correctly. 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. See usage for some examples.

屏幕截图:

  • Convenient Reorder shortcut when browsing terms within a taxonomy.
  • This is an add-on to the <a href="https://wordpress.org/plugins/metronet-reorder-posts/">Reorder Posts</a> plugin.
  • Start by selecting a taxonomy...
  • Then select a term to reorder...
  • And let the ordering begin!

升级注意事项:

1.3.1 Fixed order reset issue when saving posts.

常见问题:

Why must I build term data?

For the plugin to work, there must be the correct custom fields present for each post you want reordered by term. Since this data doesn't exist natively, we must build this data. The build process should only have to happen once, so start the build, get a cup of coffee, and then start reordering your posts by term.

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. Can we theoretically build this into the plugin to get it work automatically? Sure. But we won't.

Does the plugin work with hierarchical post types?

Of course, but by the nature of terms, all post structures are flat, regardless of hierarchy.

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.

更新日志:

1.3.1 1.3.0 1.2.3 1.2.2 1.2.0 1.1.0 1.0.0