BACK TO DIRECTORY

Taxonomies Sortable

by Enrico Sorcinelli

0.0
(0 ratings)

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 )

Screenshots

The taxonomy tags metabox drag&drop in action.

The taxonomy tags metabox drag&drop in action.

The setting plugin page.

The setting plugin page.

Plugin Details

Active Installs
0
Total Downloads
1,307
Version
1.0.1
Requires WP
4.4
Requires PHP
5.2.4
Tested Up To
4.9.31
Added
2018-06-19
Last Updated
2020-08-12 1:13pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0