plugin-icon

Taxonomies Sortable

Allows to sort taxonomy terms associated to objects.
Versie
1.0.1
Laatst bijgewerkt
Aug 12, 2020

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 )
Gratisop Business abonnement
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Getest tot
WordPress 4.9.28
Deze plugin kan worden gedownload, zodat je hem op je kan gebruiken.