Linux 软件免费装
Banner图

Anything Order by Terms

开发者 briar
Briar
更新时间 2022年7月7日 00:40
捐献地址: 去捐款
PHP版本: 5.6 及以上
WordPress版本: 6.0
版权: GPLv2 or later
版权网址: 版权信息

标签

post page admin taxonomy order custom reorder rearrange sort menu_order drag and drop term_order

下载

1.1.6 1.2.0 1.3.0 1.3.6 1.1.0 1.1.5 1.3.1 1.3.7 1.2.1 1.2.2 1.3.2 1.3.3 1.3.4 1.3.5

详情介绍:

This plugin allows you to arrange any post types and terms with simple drag and drop within the builtin list table on administration screen. Save post order for each term. Features

安装:

  1. Upload 'anything-order-by-terms' to the '/wp-content/plugins/' directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

屏幕截图:

  • Enable/Disable arrangement with drag and drop on "Screen Options" tab. Reset bulk action.
  • Dragging items. Also support custom post type like Woocommerce product.
  • You can select multiple items by Ctrl(or Command on OS X)+Click.

升级注意事项:

The current version of Anything Order requires WordPress 5.0 or higher. If you use older version of WordPress, you need to upgrade WordPress first.

常见问题:

I don't want some post types to be sortable.

Uncheck the "Order" option in "Show on screen" section on Screen Options tab to disable sorting.

I don't want terms or post to be sortable.

Use filter. Place in you theme's function.php file add_filter('Anything_Order/do_order/Post', '__return_false'); or add_filter('Anything_Order/do_order/Taxonomy', '__return_false');.

Why is the post order wrong when using the get_posts function?

As you can see from source code function get_posts default set suppress_filters param to WP_Query args. Therefore, filters specified by plugins don't work. So if you need menu order or order within term add 'suppress_filters' => false to your args.

How do I reset the order?

Select the "Reset Order" option in bulk actions select and click "Apply".

How do I select multiple items?

Ctrl(or Command on OS X)+Click toggle selection state of current item. Shift+Click select items between first selected item on the list and current item.

更新日志:

1.4.0 - 2022-07-08 1.3.10 - 2022-07-06 1.3.9 - 2022-04-22 1.3.8 - 2021-11-11 1.3.7 - 2020-11-04 1.3.6 - 2020-11-04 1.3.5 - 2020-07-21