跳到内容

Taxonomies Sortable

v1.0.1

Enrico Sorcinelli · 2018年6月19日 上架

Allows to sort taxonomy terms associated to objects.

正在使用
10 以下
评分
暂无
累计下载
1,395
最近更新
2020年8月12日
需要 WordPress 4.4+已测试到 4.9.36PHP 5.2.4+

截图

The taxonomy tags metabox drag&drop in action.
The taxonomy tags metabox drag&drop in action.
The setting plugin page.
The setting plugin page.

Taxonomies Sortable allow to sort non-hierarchical taxonomy terms associated to objects by drag&drop them on the administration interface.

Usage

Once the plugin is installed you can make a taxonomy sortable in the following ways:

  • Programmatically by adding 'sortable' => true argument in register_taxonomy().
  • Programmatically by using taxonomies_sortable filter below.
  • Using the Settings->Taxonomies Sortable administration screen by selecting non-hierarchical taxonomies you want to make sortable.

Note that making a taxonomy sortable, implicitly means also setting sort => true for that taxonomy.

Hooks

taxonomies_sortable

Filter allowing to programmatically set sortable taxonomies.

apply_filters( 'taxonomies_sortable', array $taxonomies )

taxonomies_sortable_admin_settings

Filter allowing to display or not the plugin settings page in the administration.

apply_filters( 'taxonomies_sortable_admin_settings', boolean $display )

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums