Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
Custom Taxonomy Order icon

Custom Taxonomy Order

v4.0.2
by Marcel Pol · 4.8 (92 reviews)

Allows for the ordering of categories and custom taxonomy terms through a simple drag-and-drop interface

50K+ active installs Updated Nov 27, 2024 Tested to 6.7.2 Requires PHP 7.0
Try Demo Download
Pre-installed Ready in ~10s No card

About Custom Taxonomy Order

Custom Taxonomy Order is a lightweight WordPress plugin that allows you to easily order taxonomy terms using a drag-and-drop interface. It doesn't require any custom coding and is compatible with ClassicPress. There is no paid version, so all features are available for free.

Screenshots

Custom Taxonomy Order screenshot

Frequently asked questions

What is Custom Taxonomy Order?
Custom Taxonomy Order is a WordPress plugin that allows for the ordering of taxonomy terms. It provides a simple drag-and-drop interface for this purpose.
What features does Custom Taxonomy Order offer?
It offers drag-and-drop ordering for custom terms, uses standard WordPress filters, and integrates seamlessly with the WordPress interface. The plugin is lightweight and includes custom functions for ordering taxonomies themselves.
Is there a Pro version of Custom Taxonomy Order?
No, there is no Pro version. All features are available in the free version of the plugin.
Where can I find the plugin in the WordPress admin?
The plugin is located under the 'Tools > Term Order' menu in the WordPress backend.
Is Custom Taxonomy Order compatible with ClassicPress?
Yes, this plugin is compatible with ClassicPress.

Changelog

4.0.2

  • 2024-11-27
  • Use transient for caching settings to have less database queries.

4.0.1

  • 2024-10-02
  • Add option to show slugs of terms.
  • Add data-term-order parameter to admin list of terms.
  • Loading plugin translations should be delayed until init action (in this case admin_init).
  • Use DIR instead of dirname(FILE).
  • Check for direct access of files.

4.0.0

  • 2023-11-14
  • Move admin menu item under Tools.
  • On sub-subpages, have the menu-item for Tools open.
  • Add small advertisement for a recommended plugin (free).

3.4.4

  • 2022-07-27
  • Use correct value for updating term_relationships table.
    this should fix some reported issues where the problem was unclear.
  • On updating order, list the number of terms that were updated.

3.4.3

  • 2022-04-30
  • Ouch, don’t do those calculations on frontend either when there are too many terms, it is too expensive.

3.4.2

  • 2022-04-27
  • Do not use the previous change on admin dashboard, some WooCommerce pages are way too heavy with terms.

3.4.1

  • 2022-04-27
  • Improve ordering nested sub-terms.

3.4.0

  • 2022-03-14
  • Support order by post count.
  • Add filter ‘customtaxorder_get_taxonomies’.

3.3.3

  • 2022-01-24
  • Traverse all parents for sorting child terms, not just the toplevel ancestor.
  • Some fixes on admin page for sorting subterms.
  • Add filter ‘customtaxorder_settings’.

3.3.2

  • 2021-12-24
  • Add function ‘customtaxorder_is_get_orderby_set’.
  • Add filter ‘customtaxorder_is_get_orderby_set’ to optionally change the output of that function.
  • Fix warning on PHP 8.1.
  • Show taxonomy name as label on dashboard, if label is not set.
  • Remove old translation files from plugin, GlotPress should be used.
  • Do not show all submenu items on dashboard if they are over 100 (fix for Woo attributes).

3.3.1

  • 2021-11-26
  • Bring back removed code for orderby clause in ‘get_terms_orderby’ filter.
  • No need to check if function ‘current_user_can’ and ‘is_multisite’ exist.
  • Use functions like ‘esc_attr’, ‘esc_html’ and ‘esc_url’ when appropriate.

3.3.0

  • 2021-02-23
  • Save settings per taxonomy with capability ‘manage_categories’, not ‘manage_options’.
  • Rewrite some code for settings pages.
  • Fix deprecated jQuery calls with WP 5.6 and jQuery 3.5.
  • Rename script.js to customtaxorder.js.

3.2.2

  • 2020-12-04
  • Fix category/tag edit screen, extra field.
  • Change ‘strval()’ to ‘(string)’.
  • Change ‘floatval()’ to ‘(float)’.

3.2.1

  • 2020-07-07
  • More compatibility with WPML plugin.
  • Remove code to set taxonomy ‘link_category’ to public.

3.2.0

  • 2020-07-06
  • Improve compatibility with WPML plugin.
  • Add function ‘customtaxorder_get_taxonomies()’ to remove duplicate code.
  • Be able to sort all taxonomies, public and non-public.
  • Use more esc_html functions.
  • Update About page.
  • Only load translations at the dashboard.

3.1.0

  • 2020-03-23
  • Add term_order field to edit screen of terms (thanks @li-an).
  • Add order button for slug (thanks @eric3d).
  • Only load admin functions at dashboard.
  • Remove included es_ES po file, it is maintained in GlotPress.

3.0.1

  • 2020-01-07
  • Add taxonomy parameter to get_term call for compatibility with WP 4.3.

3.0.0

  • 2019-12-21
  • Always overwrite orderby according to our settings.
  • Add option to sort by slug.
  • Support new wp_initialize_site action for multisite.
  • Simplify checking for Link Manager plugin.
  • Small fixes found by the phan tool.

2.10.0

  • 2018-10-17
  • Sort attributes for WooCommerce automatically.
  • Show name and label of taxonomy in the lists.

2.9.5

  • 2018-09-07
  • Add support for Dark Mode beta plugin.

2.9.4

  • 2018-07-02
  • Add action ‘customtaxorder_terms_ordered’.

2.9.3

  • 2018-02-16
  • Sort terms with numeric values correctly (thanks empiresafe).

2.9.2

  • 2017-11-30
  • Add action ‘custom_taxonomy_order_ne_settings_buttons’ to settings page.

2.9.1

  • 2017-08-04
  • Set Woo attribute terms to public.

2.9.0

  • 2017-07-10
  • Drop support for attributes in WooCommerce (deprecated).
  • Use the correct number of parameters with add_filter calls.
  • Set default order in WP_Term_Query->get_terms() according to our settings (probably WP 4.9).

2.8.3

  • 2017-03-29
  • Add Nonce check to admin pages.
  • Register setting for taxonomies too, with callback function.
  • Run sanitize_text_field on the keyname in the option for customtaxorder_settings.

2.8.2

  • 2016-10-19
  • Only skip one sort for tags on frontend, not admin.

2.8.1

  • 2016-10-06
  • Sort children with a float as ancestor.child when set to term_order.

2.8.0

  • 2016-10-04
  • Remove global var, add function customtaxorder_get_settings().
  • Fix PHP notices in customtaxorder_apply_order_filter.

2.7.8

  • 2016-07-26
  • Flush object cache when order is changed in taxonomy ordering plugin (props James Bonham).

2.7.7

  • 2016-07-24
  • Fix PHP warnings.
  • Remove ru_RU translation, it is at 100% in GlotPress.
  • Update Donate text.

2.7.6

  • 2016-03-01
  • Add filters for custom capabilities.

2.7.5

  • 2016-01-11
  • Support Advanced Custom Fields with its Taxonomy Fields.

2.7.4

  • 2016-01-06
  • Really fix Woo get_attribute() (thanks eddy_boy).

2.7.3

  • 2015-11-26
  • Fix for Woo get_attribute() (thanks mantish).

2.7.2

  • 2015-11-26
  • Properly enqueue admin scripts.
  • Rename and prefix js functions properly.

2.7.1

  • 2015-11-07
  • Explode() expects parameter to be a string, not an array.
  • Better dashicon.
  • Drop pot, nl_NL, they are maintained at GlotPress.

2.7.0

  • 2015-11-07
  • Offer page and functions to support the taxonomies themselves.
  • Support WooCommerce attributes.
  • Only support WordPress 3.7+, since they really are supported.
  • More specific CSS.
  • Add icon on admin pages.
  • Update pot, nl_NL.

2.6.6

  • 2015-09-05
  • Add filter for (not) sorting a tagcloud (thanks sunriseweb).
  • For sub-term, start counting at term_order of parent-term, so sorting looks reasonable.
  • “Order Alphabetically” button is no button-primary.
  • Change textdomain to slug.
  • Make admin_notices dismissible.
  • Add version to admin CSS.

2.6.5

  • 2015-08-05
  • Use correct headings on admin pages.

2.6.4

  • 2015-05-31
  • Add About page.
  • Update pot and nl_NL.

2.6.3

  • 2015-03-25
  • Support Link Manager plugin.

2.6.2

  • 2015-03-21
  • Better suppport for WPMU, also set up new blogs (thanks Andrew Patton).

2.6.1

  • 2015-03-13
  • Wrap radio buttons inside label, so the label works (thanks Andrew Patton).

2.6.0

  • 2015-02-28
  • Separate settingspage to own php-file.
  • Add de_DE (thanks Patrick Skiebe).

2.5.9

  • 2015-01-21
  • Add test for capability inside admin page as well.

2.5.8

  • 2014-12-11
  • Fix conflict with wp-catalogue plugin

2.5.7

  • 2014-09-12
  • Fix notices with defensive programming

2.5.6

  • 2014-08-22
  • More compatibility with WPML

2.5.5

  • 2014-08-20
  • Some Compatibility with WPML Plugin

2.5.4

  • 2014-08-15
  • Add action for saving the terms

2.5.3

  • 2014-08-06
  • New default settings page
  • Filter added for get_the_terms
  • Don’t filter tags at get_terms filtering
  • Updated nl_NL

2.5.2

  • 2014-06-30
  • Also be able to sort the builtin taxonomies
  • Fix bug with sorting tags

2.5.1

  • 2014–5-13
  • Added fr_FR (Jean-Christophe Brebion)

2.5.0

  • 2014-05-02
  • Added ru_RU (Alex Rumyantsev)
  • Small gettext fixes
  • update nl_NL

2.4.9

  • 2014-04-15
  • Multisite activation doesn’t work if it isn’t done network wide

2.4.8

  • 2014-04-11
  • Don’t usort on an array which doesn’t contain objects

2.4.7

  • 2014-03-29
  • Also filter at the get_terms hook for get_terms() and wp_list_categories()

2.4.6

  • 2014-03-24
  • Update pl_PL

2.4.5

  • 2014-03-23
  • Improve html/css

2.4.4

  • 2014-03-23
  • Remove obsolete images

2.4.3

  • 2014-03-22
  • Add settings link

2.4.2

  • 2014-03-22
  • New dashicon

2.4.1

  • 2014-03-22
  • Add alphabetical sorting to options as well
  • Update Polish and Dutch

2.4.0

  • 2014-03-18
  • Add Polish translation (Paweł Data)
  • Sort Alphabetically (landwire)

2.3.9

  • 2014-02-25
  • Fix activation code to really generate term_order column

2.3.8

  • 2014-02-18
  • Ouch, remove testing code

2.3.7

  • 2014-02-18
  • Fix activation on network install (Matteo Boria)

2.3.6

  • 2014-01-26
  • Also add filter for wp_get_object_terms and wp_get_post_terms

2.3.5

  • 2014-01-26
  • Only filter categories when auto-sort is enabled

2.3.4

  • 2014-01-25
  • Filter added for get_the_categories

2.3.3

  • 2014-01-25
  • Fix errors “undefined index” for undefined options

2.3.2

  • 2014-01-03
  • Use print for translated substring (Matteo Boria)
  • Add Italian Translation (Matteo Boria)

2.3.1

  • 2013-12-30
  • Fix PHP error-notice when activating

2.3

  • 2013-12-10
  • Add es_ES translataion, thanks Andrew and Jelena

2.2

  • 2013-10-20
  • do init stuff in the init function
  • also update term_order in term_relationships table
  • security update: validate input with $wpdb->prepare()

2.1

  • 2013-10-10
  • renamed/forked as Custom Taxonomy Order New Edition
  • fixed a bug with ordering in the backend
  • add localisation
  • add nl_NL lang

2.0

  • Complete code overhaul and general rewrite to bring things up to speed
  • Updated for WordPress 3.2 Admin Design
  • Added auto-sort query option
  • Several text fixes for overall consistency and clarity.
  • Various small bugfixes and optimizations

1.0

  • First Version

Try other plugins

One Click Demo Import icon

One Click Demo Import

4.3 · 1M+ installs

Import your demo content, widgets and theme settings with one click. Theme authors! Enable simple theme demo import…