Order all of the taxonomy terms on your site with a simple to use, intuitive drag and drop interface. The plugin works for WordPress core taxonomies – Categories and Tags – and any custom taxonomies you have created.
Activate the plugin, enable your taxonomy on the settings page, and drag and drop the taxonomies into the desired position. It couldn’t be easier.
On the front end of the site your taxonomy terms will display in the order set in the dashboard.
Requires WordPress 4.4 or later due to the use of the term meta.
- If you’re trying to query for taxonomy terms (e.g. using
WP_Queryor functions like
get_terms()), and you’d like them to be returned in the order specified by the plugin, you need to add the tax_position parameter in your call. For example:
'meta_key' => 'tax_position'and
'orderby' => 'tax_position'. Thanks to @certainlyakey on GitHub for pointing this out.
- Unzip and upload contents to your plugins directory (usually wp-content/plugins/).
- Activează modulul.
- Head to the settings page, ‘Settings > Simple Tax. Ordering’.
- Select the taxonomies you want to enable drag and drop ordering on. Save the settings.
- Head to the taxonomy edit page and re-order the taxonomies as needed.
Contributori și dezvoltatori
„Simple Taxonomy Ordering” este un software open-source. La acest modul au contribuit următoarele persoane.Contributori
- Fixes custom order not being displayed on edit-tags pages.
- Fixes column span bug present after updating to WordPress 5.5.
- Fixes bug with illegal string offset when disabling taxonomies under certain conditions.
- Added action
yikes_sto_taxonomy_order_updatedto hook into updated Taxonomy event. Thanks @d4mation!
- Singleton Pattern. This approach makes removing the filter, which sets the custom order, a lot easier.
- Fixed uninstall method. The plugin should now uninstall and clean up after itself without error.
- Fixed footer callout URLs and placement. It should only display on the settings page now.
- Fixed an issue with PHP versions < 7 (renaming class method from
- Fixed an issue where new taxonomies were not being saved.
- Fixed an issue where the plugin’s action link to the settings page was going to the admin dashboard.
- Updated the plugin’s pot file with the proper text domain.
- Fixed bugs with defaulting a taxonomy’s order.
- Fixed bug where ordering on a subsequent page would overwrite the first page’s order.
- Added some variable checks to prevent PHP Notices.
- Changed the global (localized) JS variable from
simple_taxonomy_ordering_datato avoid any potential conflicts.
- Fixed an issue where terms weren’t being returned if the termmeta table was empty. A big thanks to @doppiogancio on GitHub for finding this and helping us reach the solution.
- Fixed a JS issue that occurs when HTML is added to category description. A big thanks to @mateuszbajak for finding this and fixing it!
- Fixed a bug where the same SQL join statement was being added to a query twice on the front end (props to @burisk for calling this out)
- Added a CAST call to order taxonomies as integers instead of strings (props to Timothy Couckuyt / @devplus_timo for calling this out)
- Removed the
disableSelection()call to allow selection of quick edit fields
- Added i18n: added domain path, languages folder, .pot file, and load_text_domain() hook
- Reverted query, added missing ORDER BY argument.
- Altered the query run when ordering terms (Props to Daniel Schwab for the pull request.
- Lansare inițială