{"id":50330,"date":"2015-10-04T04:54:26","date_gmt":"2015-10-04T04:54:26","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/reorder-terms\/"},"modified":"2026-03-10T07:04:16","modified_gmt":"2026-03-10T07:04:16","slug":"reorder-terms","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/reorder-terms\/","author":77875,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.1","stable_tag":"1.1.1","tested":"7.0","requires":"6.5","requires_php":"","requires_plugins":null,"header_name":"Reorder Terms","header_author":"Ronald Huereca","header_description":"","assets_banners_color":"c18762","last_updated":"2026-03-10 07:04:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/reorder-terms\/","header_author_uri":"https:\/\/github.com\/ronalfy\/reorder-terms","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":14942,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"ronalfy","date":"2016-08-17 02:10:42"},"1.1.0":{"tag":"1.1.0","author":"ronalfy","date":"2018-12-07 20:06:35"},"1.1.1":{"tag":"1.1.1","author":"ronalfy","date":"2026-03-10 07:04:16"}},"upgrade_notice":{"1.1.1":"<p>Added term helper query in the back-end<\/p>","1.1.0":"<p>Backwards incompatible re-release.<\/p>","1.0.0":"<p>Initial Release<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1476189,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1476189,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":1476189,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1476189,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1476190,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1476190,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1476190,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Reorder Terms Interface","2":"Example of Terms on the front-end","3":"Example of Terms on the front-end"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2286,97103],"plugin_category":[],"plugin_contributors":[78085],"plugin_business_model":[],"class_list":["post-50330","plugin","type-plugin","status-publish","hentry","plugin_tags-reorder","plugin_tags-reorder-terms","plugin_contributors-ronalfy","plugin_committers-ajay","plugin_committers-ronalfy"],"banners":{"banner":"https:\/\/ps.w.org\/reorder-terms\/assets\/banner-772x250.jpg?rev=1476189","banner_2x":"https:\/\/ps.w.org\/reorder-terms\/assets\/banner-1544x500.jpg?rev=1476189","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/reorder-terms\/assets\/icon-128x128.png?rev=1476189","icon_2x":"https:\/\/ps.w.org\/reorder-terms\/assets\/icon-256x256.png?rev=1476189","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/reorder-terms\/assets\/screenshot-1.png?rev=1476190","caption":"Reorder Terms Interface"},{"src":"https:\/\/ps.w.org\/reorder-terms\/assets\/screenshot-2.png?rev=1476190","caption":"Example of Terms on the front-end"},{"src":"https:\/\/ps.w.org\/reorder-terms\/assets\/screenshot-3.png?rev=1476190","caption":"Example of Terms on the front-end"}],"raw_content":"<!--section=description-->\n<p>We consider Reorder Terms a <strong>developer tool<\/strong>. If you do not know what <code>menu_order<\/code> or custom queries are, then this plugin is likely not for you.  This is an add-on to <a href=\"https:\/\/wordpress.org\/plugins\/metronet-reorder-posts\/\">Reorder Posts<\/a> and requires <a href=\"https:\/\/wordpress.org\/plugins\/metronet-reorder-posts\/\">Reorder Posts 2.1.0 or greater<\/a>.<\/p>\n\n<p>[youtube https:\/\/www.youtube.com\/watch?v=C_dmk9ApGGc]<\/p>\n\n<p>Reorder Terms takes a different approach to term reordering. Instead of modifying core tables to achieve reordering, we do it using term meta per post type.<\/p>\n\n<p>With the ability to add taxonomies to multiple post types, this method allows you to reorder terms within each post type attached to the same taxonomy.<\/p>\n\n<p>This plugin treats terms like pages. Each term in a hierarchy has a term order. This allows quick reordering and deep traversing to get the exact terms and order you prefer.<\/p>\n\n<p>As a result, you can get reordered terms with a query such as:<\/p>\n\n<pre><code>$query = array(\n    'orderby' =&gt; 'meta_value_num',\n    'order' =&gt; 'ASC',\n    'meta_query' =&gt; array(\n        'relation' =&gt; 'OR',\n        array(\n            'key' =&gt; 'post_order',\n            'compare' =&gt; 'NOT EXISTS'\n        ),\n        array(\n            'key' =&gt; 'post_order',\n            'value' =&gt; 0,\n            'compare' =&gt; '&gt;='\n        )\n    ),\n    'hide_empty' =&gt; true,\n    'parent' =&gt; 0\n);\n$terms = get_terms( 'post_format', $query );\necho '&lt;ul&gt;';\nforeach( $terms as $term ) {\n    printf( '&lt;li&gt;%s&lt;\/li&gt;', esc_html( $term-&gt;name ) );\n}\necho '&lt;\/ul&gt;';\n<\/code><\/pre>\n\n<p>While admittedly the query isn't exactly poetry, it's efficient, and insanely flexible.<\/p>\n\n<h3>Features<\/h3>\n\n<p><li>Add-on to <a href=\"https:\/\/wordpress.org\/plugins\/metronet-reorder-posts\/\">Reorder Posts<\/a>, so there is only one place to do all your reordering.<\/li>\n<li>Reorder terms for each taxonomy within each post type. Very flexible.<\/li>\n<\/p>\n\n<h3>Spread the Word<\/h3>\n\n<p>If you like this plugin, please help spread the word.  Rate the plugin.  Write about the plugin.  Something :)<\/p>\n\n<h3>Development<\/h3>\n\n<p>Development happens on GitHub.<\/p>\n\n<p>You are welcome to help us out and <a href=\"https:\/\/github.com\/ronalfy\/reorder-terms\">contribute on GitHub<\/a>.<\/p>\n\n<!--section=installation-->\n<p>Either install the plugin via the WordPress admin panel, or ...<\/p>\n\n<ol>\n<li>Upload <code>reorder-terms<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<p>This plugin requires <a href=\"https:\/\/wordpress.org\/plugins\/metronet-reorder-posts\/\">Reorder Posts 2.1.0 or greater<\/a>.<\/p>\n\n<p>Please note that this plugin <strong>does not<\/strong> change the order of items in the front-end.  This functionality is <strong>not<\/strong> core WordPress functionality, so it'll require some work on your end to get the posts to display in your theme correctly.<\/p>\n\n<p><a href=\"https:\/\/github.com\/ronalfy\/reorder-terms#usage\">See usage for some examples.<\/a><\/p>\n\n<!--section=faq-->\n<p>Ask your questions here!<\/p>\n\n<!--section=changelog-->\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Released 2019-02-16<\/li>\n<li>Added term helper query in the back-end<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Re-release<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"A simple and easy way to reorder your terms in WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/50330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=50330"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ronalfy"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=50330"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=50330"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=50330"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=50330"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=50330"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=50330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}