{"id":40729,"date":"2015-12-14T23:37:54","date_gmt":"2015-12-14T23:37:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/simple-taxonomy-ordering\/"},"modified":"2023-03-22T07:26:17","modified_gmt":"2023-03-22T07:26:17","slug":"simple-taxonomy-ordering","status":"publish","type":"plugin","link":"https:\/\/pirate.wordpress.org\/plugins\/simple-taxonomy-ordering\/","author":11636007,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.3.4","stable_tag":"2.3.4","tested":"6.2.9","requires":"4.4","requires_php":"","requires_plugins":"","header_name":"YIKES Simple Taxonomy Ordering","header_author":"YIKES, Inc.","header_description":"","assets_banners_color":"","last_updated":"2023-03-22 07:26:17","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.yikesinc.com","header_author_uri":"http:\/\/www.yikesinc.com","rating":4.9,"author_block_rating":0,"active_installs":20000,"downloads":353471,"num_ratings":28,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"0.1":{"tag":"0.1","author":"eherman24","date":"2016-01-06 21:57:55"},"1.0":{"tag":"1.0","author":"eherman24","date":"2016-07-20 14:44:36"},"1.1":{"tag":"1.1","author":"eherman24","date":"2016-08-23 23:50:48"},"1.2":{"tag":"1.2","author":"yikesitskevin","date":"2016-11-22 17:40:47"},"1.2.1":{"tag":"1.2.1","author":"yikesitskevin","date":"2016-12-06 18:06:38"},"1.2.2":{"tag":"1.2.2","author":"yikesitskevin","date":"2016-12-15 15:39:06"},"1.2.3":{"tag":"1.2.3","author":"yikesitskevin","date":"2017-02-27 21:14:31"},"1.2.4":{"tag":"1.2.4","author":"yikesitskevin","date":"2017-06-08 15:18:38"},"1.2.5":{"tag":"1.2.5","author":"yikesitskevin","date":"2017-10-13 15:35:47"},"1.2.6":{"tag":"1.2.6","author":"yikesitskevin","date":"2018-01-09 18:56:00"},"1.2.7":{"tag":"1.2.7","author":"yikesitskevin","date":"2019-02-27 17:47:48"},"2.0.0":{"tag":"2.0.0","author":"yikesitskevin","date":"2019-03-13 17:19:43"},"2.0.1":{"tag":"2.0.1","author":"yikesitskevin","date":"2019-03-14 12:33:25"},"2.0.2":{"tag":"2.0.2","author":"yikesitskevin","date":"2019-03-14 13:25:58"},"2.0.3":{"tag":"2.0.3","author":"yikesitskevin","date":"2019-06-20 13:01:31"},"2.1.0":{"tag":"2.1.0","author":"fmixell","date":"2020-03-10 17:27:18"},"2.3.0":{"tag":"2.3.0","author":"fmixell","date":"2020-08-04 15:55:05"},"2.3.2":{"tag":"2.3.2","author":"jpowersdev","date":"2020-12-09 20:51:13"},"2.3.3":{"tag":"2.3.3","author":"yikesinc","date":"2022-01-26 18:07:22"},"2.3.4":{"tag":"2.3.4","author":"eherman24","date":"2023-03-22 07:26:17"}},"upgrade_notice":[],"ratings":{"1":0,"2":1,"3":0,"4":0,"5":27},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2489936,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":2489936,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2489936,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","1.0","1.1","1.2","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","2.0.0","2.0.1","2.0.2","2.0.3","2.1.0","2.3.0","2.3.2","2.3.3","2.3.4"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":1308523,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Simple Taxonomy Ordering settings page, allows you to specify which taxonomy you want to enable drag &amp; drop ordering on."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[83,683,1896,1378,5058],"plugin_category":[57],"plugin_contributors":[78390,78391,78389,93900],"plugin_business_model":[],"class_list":["post-40729","plugin","type-plugin","status-publish","hentry","plugin_tags-admin","plugin_tags-meta","plugin_tags-order","plugin_tags-simple","plugin_tags-term","plugin_category-taxonomy","plugin_contributors-eherman24","plugin_contributors-liljimmi","plugin_contributors-yikesinc","plugin_contributors-yikesitskevin","plugin_committers-eherman24"],"banners":{"banner":"https:\/\/ps.w.org\/simple-taxonomy-ordering\/assets\/banner-772x250.jpg?rev=2489936","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/simple-taxonomy-ordering\/assets\/icon-128x128.jpg?rev=2489936","icon_2x":"https:\/\/ps.w.org\/simple-taxonomy-ordering\/assets\/icon-256x256.jpg?rev=2489936","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-taxonomy-ordering\/assets\/screenshot-1.jpg?rev=1308523","caption":"Simple Taxonomy Ordering settings page, allows you to specify which taxonomy you want to enable drag &amp; drop ordering on."}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>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.<\/p>\n\n<p>On the front end of the site your taxonomy terms will display in the order set in the dashboard.<\/p>\n\n<p><strong>Requires WordPress 4.4 or later due to the use of the term meta.<\/strong>\n<strong>Query Usage<\/strong><\/p>\n\n<ul>\n<li>If you're trying to query for taxonomy terms (e.g. using <code>WP_Query<\/code> or functions like <code>get_terms()<\/code>), 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: <code>'meta_key' =&gt; 'tax_position'<\/code> and  <code>'orderby' =&gt; 'tax_position'<\/code>. Thanks to @certainlyakey on GitHub for pointing this out.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ul>\n<li>Unzip and upload contents to your plugins directory (usually wp-content\/plugins\/).<\/li>\n<li>Activate the plugin.<\/li>\n<li>Head to the settings page, 'Settings &gt; Simple Tax. Ordering'.<\/li>\n<li>Select the taxonomies you want to enable drag and drop ordering on. Save the settings.<\/li>\n<li>Head to the taxonomy edit page and re-order the taxonomies as needed.<\/li>\n<li>Profit<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>2.3.4<\/h4>\n\n<ul>\n<li>Fixes custom order not being displayed on edit-tags pages.<\/li>\n<\/ul>\n\n<h4>2.3.3<\/h4>\n\n<ul>\n<li>Housekeeping<\/li>\n<\/ul>\n\n<h4>2.3.2<\/h4>\n\n<ul>\n<li>Fixes column span bug present after updating to WordPress 5.5.<\/li>\n<\/ul>\n\n<h4>2.3.0<\/h4>\n\n<ul>\n<li>Fixes bug with illegal string offset when disabling taxonomies under certain conditions.<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Added action <code>yikes_sto_taxonomy_order_updated<\/code> to hook into updated Taxonomy event. Thanks @d4mation!<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Singleton Pattern. This approach makes removing the filter, which sets the custom order, a lot easier.<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>Fixed uninstall method. The plugin should now uninstall and clean up after itself without error.<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Fixed footer callout URLs and placement. It should only display on the settings page now.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Fixed an issue with PHP versions &lt; 7 (renaming class method from <code>include<\/code> to <code>include_files<\/code>).<\/li>\n<li>Fixed an issue where new taxonomies were not being saved.<\/li>\n<li>Fixed an issue where the plugin's action link to the settings page was going to the admin dashboard.<\/li>\n<li>Updated the plugin's pot file with the proper text domain.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Completely rewrote the plugin: it is now fully WPCS linted, assets are minified, inline styles and javascript have been removed, nonces are included in AJAX requests.<\/li>\n<li>Fixed bugs with defaulting a taxonomy's order.<\/li>\n<li>Fixed bug where ordering on a subsequent page would overwrite the first page's order.<\/li>\n<\/ul>\n\n<h4>1.2.7<\/h4>\n\n<ul>\n<li>Added some variable checks to prevent PHP Notices.<\/li>\n<\/ul>\n\n<h4>1.2.6<\/h4>\n\n<ul>\n<li>Changed the global (localized) JS variable from <code>localized_data<\/code> to <code>simple_taxonomy_ordering_data<\/code> to avoid any potential conflicts.<\/li>\n<\/ul>\n\n<h4>1.2.5<\/h4>\n\n<ul>\n<li>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.<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>Fixed a JS issue that occurs when HTML is added to category description. A big thanks to @mateuszbajak for finding this and fixing it!<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>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)<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Added a CAST call to order taxonomies as integers instead of strings (props to Timothy Couckuyt \/ @devplus_timo for calling this out)<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Removed the <code>disableSelection()<\/code> call to allow selection of quick edit fields<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added i18n: added domain path, languages folder, .pot file, and load_text_domain() hook<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Reverted query, added missing ORDER BY argument.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Altered the query run when ordering terms (Props to Daniel Schwab for the <a href=\"https:\/\/github.com\/yikesinc\/yikes-inc-simple-taxonomy-ordering\/pull\/2\">pull request<\/a>.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Quickly and easily reorder taxonomy terms with an easy to use and intuitive drag and drop interface.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/40729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"author":[{"embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/users\/11636007"}],"replies":[{"embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=40729"}],"wp:attachment":[{"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=40729"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=40729"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=40729"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=40729"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=40729"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=40729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}