=== Category Order and Taxonomy Terms Order  ===
Contributors: nsp-code
Donate link: http://www.nsp-code.com/donate.php
Tags: category order,terms order, taxonomy order, categories sort
Requires at least: 2.8
Tested up to: 6.6.1
Stable tag: 1.8.6

Order Categories and all custom taxonomies terms (hierarchically) using a Drag and Drop Sortable JavaScript capability. 

== Description ==

Order Categories and all custom taxonomies terms (hierarchically) using a Drag and Drop Sortable javascript capability. <strong>No Theme/plugins update is required</strong> the code apply the customised sorting to the front queries on the fly.
If multiple taxonomies are created for a custom post type, a menu will allow to chose the one need to be sorted. If child categories (terms) are defined, those can be ordered too using the same interface.
<br />Also you can have the admin terms interface sorted per your new sort.
<br />This plugin is developed by <a target="_blank" href="http://www.nsp-code.com">Nsp-Code</a>

<br />See the <a target="_blank" href="https://www.nsp-code.com/premium-plugins/wordpress-plugins/advanced-taxonomy-terms-order/">Advanced Taxonomy Terms Order</a> for advanced features.

== Installation ==

1. Upload `taxonomy-terms-order` folder to your `/wp-content/plugins/` directory.
2. Activate the plugin from Admin > Plugins menu.
3. Once activated you should check with Settings > Taxonomy Terms Order 
4. Use Taxonomy Order link which appears into each post type section to make your sort.

== Screenshots ==

1. Category Order Interface.
2. Multiple Taxonomies Interface.

== Frequently Asked Questions  ==

Feel free to contact me at electronice_delphi@yahoo.com

= Since I have no PHP knowledge at all, is this plugin for me? =

Absolutely, you can! 
Unlike many other plugins, you don't have to do any code changes to make your post order to apply, accordingly to custom-defined order. There is an option to auto-update the WordPress queries so the posts will be returned in customised order. This can be turned off (Autosort) to allow customized code usage.

= I prefer to apply the sort through code, how can be done? =

Include a 'orderby' => 'term_order' within your get_terms() arguments.

= What taxonomies will allow me to sort? =

You can sort ALL taxonomies ( hierarhically active ), including the default Categories.

= Is there any way i can get my admin interface to use the custom terms order? =

Absolutely, the plugin can do that. In fact you can configure so only the admin will update and the front side template will display the terms as before.

= There is a feature that i want it implemented, can you do something about it? =

All ideas are welcome and i put them on my list to be implemented into the new versions. Anyway this may take time, but if you are in a rush, please consider a small donation and we can arrange something.

= I still need more features =

Consider upgrading to our advanced version of this plugin at a very resonable price <a target="_blank" href="http://www.nsp-code.com/premium-plugins/wordpress-plugins/advanced-taxonomy-terms-order/">Advanced Taxonomy Terms Order Order</a>

== Change Log ==

= 1.8.6 =
 - Fix: TTO_addons class not loaded which makes the compatibility routines not triggering. 

= 1.8.5 =
 - Temporary placeholder function to prevent fatal errors when using the Uncode theme.

= 1.8.4 =
 - Code structure improvements. 
 - New option "Show / Hide re-order interface" - Display the Taxonomy Order interface for the specified post types
 - WordPress 6.6.1 compatibility check and tag update 
 
= 1.8.2 =
 - Polylang fix - Ignore the 'language' to avoid unnecessarily sorting.
 - Set-up the Live Preview for the plugin.
 - WordPress 6.5.4 compatibility check and tag update

= 1.8.1 =
 - WordPress 6.5 compatibility check and tag update

= 1.8 =
 - Check if the terms table still includ the custom column, to avoid errors ( mainly when upgrading WordPress )
 - Code improvements
 - WordPress 6.4.2 compatibility check and tag update

= 1.7.9 =
 - Trigger wp_cache_flush when saving the order to clear the internal caches
 - WordPress 6.3 compatibility tag
 
= 1.7.7 =
 - Use term name for admin queries, when the admin sort is active, to avoid "random" returns on certain servers, when term order are empty.
 - WordPress 6.2.2 compatibility tag

= 1.7.5 =
 - New filter tto/admin/plugin_options/capability to add custom roles and capabilities.
 - Compatibility tag update for WordPress 6.2

= 1.7.4 =
 - Compatibility tag update for WordPress 6.1.1

= 1.7.3 =
 - Use esc_html to escape the ajax response message, to avoid single quotes which will break the code.

= 1.7.1 =
 - Add the required column when create a new site, when running under MultiSite environment.

= 1.7 =
 - Create the required columns for all sites, when running under MultiSite environment.
 - Compatibility tag update for WordPress 6.0.1

= 1.6.1 =
 - Compatibility tag update for WordPress 6.0

= 1.6 =
 - Readme file updates, typos fixes.
 - Compatibility tag update for WordPress 5.9.1

= 1.5.9 =
 - Remove Twitter button
 - Compatibility tag update for WordPress 5.8.2

= 1.5.7.7 =
 - Minor code updates
 - Code cleanup
 - Compatibility tag update for WordPress 5.8.1

= 1.5.7.6 =
 - Clear the term cache to ensure the updated order reflect for certain caches

= 1.5.7.5 =
 - Apply the order within admin if ignore_term_order argument is set and not true
 - Compatibility tag update for WordPress 5.7

= 1.5.7.4 =
 - Fix: Call to undefined function wc_get_attribute_taxonomies()   
 - Compatibility tag update for WordPress 5.6

= 1.5.7.3 =
 - Compatibility tag update for WordPress 5.5

= 1.5.7.2 =
  - Compatibility tag update for WordPress 5.4

= 1.5.7.1 =
  - Compatibility tag update for WordPress 5.3  

= 1.5.7 =
  - Ignore WooCOmmerce Attributes order as being changed through default interface

= 1.5.6 =
  - Rely on 'terms_clauses' filter than 'get_terms_orderby' as producing issues with the $maybe_orderby_meta backward compatibility.
  - Fix WooCommerce category order apply
  
= 1.5.5 =
  - Ignore admin sort when using columns order within Taxonomy interface

= 1.5.4 =
  - Replaced serialize with JSON when saving terms order
  - New filter to/get_terms_orderby/ignore to allow sort ignore when Autosort is turned On
  - Addon code to ignore term_order sorting when Co-Authors plugin term query

= 1.5.3.2 =
  - Add nonce field for AJAX sort update

= 1.5.3.1 =
  - Removed Google Plus share button which triggered some JavaScript errors

= 1.5.3 =
  - Use JSON instead serialize method when sending order through AJAX
  - Updated PO language file

= 1.5.2.2 =
  - Default admin capability changed from install_plugins to manage_options to prevent DISALLOW_FILE_MODS issue. https://wordpress.org/support/topic/plugin-breaks-when-disallow_file_mods-is-set-to-true/
  - Prepare plugin for Composer package
  - Interface table th elements titles left align
  - Interface Taxonomy terms count fix

= 1.5 =
  - Included 'ignore_term_order' to force menu_order ignore when autosort active.
  - Translations issues update

= 1.4.9 =
  - Remove translations from the package
  - Removed donate banner
  - PHP 7 fix
  - Unused action remove

= 1.4.8 =
  - textdomain folder fix
  - Translation fix for user roles
  - the_title filter replaced with terms_walker 
  - Add Nonce for admin settings

= 1.4.7 =
  - Texdomain change to taxonomy-terms-order to allow translations through translate.wordpress.org
  - WordPress 4.4 compatibility update
  - Css updates  

= 1.4.6.1 =
  - Security bug fix
  
= 1.4.5 =
  - Translation textdomain fix - thanks to Pedro Mendonça
  - Portuguese localization update - Pedro Mendonça

= 1.4.4 =
  - User role switch from deprecated user_level to capabilities 
  - Taxonomy sort for media
  - Admin Options update

= 1.4.2 =
  - Iranian Language (eydaaad@gmail.com) 
  - Admin css updates.

= 1.4.1 = 
  - Polish Language(Pozdrawiam - www.difreo.pl/   ;   Mateusz - www.czar-net.com   )  

= 1.4.0 = 
 - Hungarian Language(Adam Laki - http://codeguide.hu/)
 - Ukrainian translation (Michael Yunat - http://getvoip.com)
 - Czech translation

= 1.3.7 = 
 - Brazilian Portuguese Language (Rafael Forcadell - www.rafaelforcadell.com.br)

= 1.3.6 =
 - Traditional Chinese Language (Danny - http://sofree.cc)
 - Minor admin styling
   
= 1.3.4 =
 - Menu walker update
 - Translations load fix
 - Japanese language

= 1.3.0 = 
 - Headers already sent bug fix
 - Slovak Language (Branco Slovak http://webhostinggeeks.com/user-reviews/)

= 1.2.9 = 
 - Small updates
 - German and French languages.

= 1.2.7 = 
 - Localization implement, Dutch and Romanian.
 - Many thanks to Anja Fokker  http://www.werkgroepen.net/

 
== Upgrade Notice ==

Make sure you get the latest version


== Localization ==

Available in English, Dutch, French, Deutch, Slovak, Japanese, Traditional Chinese, Brazilian Portuguese, Hungarian, Ukrainian, Czech and Romanian
Whant to contribute with a translation to your language? Please check at https://translate.wordpress.org/projects/wp-plugins/taxonomy-terms-order

There isn't any Editors for your native language on plugin Contributors? You can help to moderate! https://translate.wordpress.org/projects/wp-plugins/taxonomy-terms-order/contributors
