Reorder Terms

from 0$

Reorder Terms is a WP Plugin Package from the Open Source WP Plugins range A simple and easy way to reorder your terms in WordPress.


For more information about a tailored WP Plugin Package like Reorder Terms please contact us directly.

We consider Reorder Terms a developer tool. If you do not know what menu_order or custom queries are, then this plugin is likely not for you. This is an add-on to Reorder Posts and requires Reorder Posts 2.1.0 or greater.

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.

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.

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.

As a result, you can get reordered terms with a query such as:

$query = array(
    'orderby' => 'meta_value_num',
    'order' => 'ASC',
    'meta_query' => array(
        'relation' => 'OR',
        array(
            'key' => 'post_order',
            'compare' => 'NOT EXISTS'
        ),
        array(
            'key' => 'post_order',
            'value' => 0,
            'compare' => '>='
        )
    ),
    'hide_empty' => true,
    'parent' => 0
);
$terms = get_terms( 'post_format', $query );
echo '<ul>';
foreach( $terms as $term ) {
    printf( '<li>%s</li>', esc_html( $term->name ) );
}
echo '</ul>';

While admittedly the query isn’t exactly poetry, it’s efficient, and insanely flexible.

Features

  • Add-on to Reorder Posts, so there is only one place to do all your reordering.
  • Reorder terms for each taxonomy within each post type. Very flexible.
  • Spread the Word

    If you like this plugin, please help spread the word. Rate the plugin. Write about the plugin. Something

    Download & install the zip archive

    The plugin package installer can be downloaded from the WP2E project tab called “code”.

    1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.

    2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.

    3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.

    Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.

    Reorder Terms

    typePlugin
    version1.1.1
    descriptionA simple and easy way to reorder your terms in WordPress.