Title: The Taxonomy Sort
Author: Risto Niinemets
Published: <strong>22. meje 2013</strong>
Last modified: 24. awgusta 2026

---

Tykače pytać

![](https://s.w.org/plugins/geopattern-icon/the-taxonomy-sort.svg)

# The Taxonomy Sort

 Wot [Risto Niinemets](https://profiles.wordpress.org/ristoniinemets/)

[Sćahnyć](https://downloads.wordpress.org/plugin/the-taxonomy-sort.2.1.zip)

 * [Podrobnosće](https://hsb.wordpress.org/plugins/the-taxonomy-sort/#description)
 * [Pohódnoćenja](https://hsb.wordpress.org/plugins/the-taxonomy-sort/#reviews)
 *  [Instalacija](https://hsb.wordpress.org/plugins/the-taxonomy-sort/#installation)
 * [Wuwiće](https://hsb.wordpress.org/plugins/the-taxonomy-sort/#developers)

 [Podpěra](https://wordpress.org/support/plugin/the-taxonomy-sort/)

## Wopisanje

Most commonly taxonomy sorting plugins will create a new interface to drag or order/
sort your terms. This plugin uses the built-in view just to make things easier. 
Just grab the term and drag it to a new position. No more extra clicks – everything
is saved after repositioning!

The order is applied to term queries that did not ask for an order of their own.
A query that explicitly sorts by count, slug, term order or anything else gets what
it asked for, so themes and plugins that sort terms themselves are left alone.

## Instalacija

 1. Upload `the-taxonomy-sort/` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‚Plugins‘ menu in WordPress
 3. Go to taxonomy page (for example Posts -> Categories) and drag the table rows to
    change ordering.

## HSP

### Is there a way to disable it for some taxonomies?

Yes, as of version 2.1. Return the taxonomies it should apply to, and it applies
to no others:

    ```
    add_filter( 'the_taxonomy_sort_define_taxonomies', function () {
        return array( 'category', 'product_cat' );
    } );
    ```

For a decision per query – one taxonomy sorted in the admin but not on the front
end, say – there is `the_taxonomy_sort_is_sortable`:

    ```
    add_filter( 'the_taxonomy_sort_is_sortable', function ( $sortable, $taxonomies, $args ) {
        return is_admin() ? $sortable : false;
    }, 10, 3 );
    ```

### Does it work with hierarchical taxonomies?

Yes. Terms are ordered among their siblings; WordPress still nests children under
their parent, so dragging a child to the top of the list moves it to the top of 
its own branch.

### Who is allowed to reorder terms?

Whoever may manage that taxonomy’s terms – the same capability WordPress checks 
before showing the taxonomy screen.

## Pohódnoćenja

![](https://secure.gravatar.com/avatar/e12f3cb24e2036ca17bb07b17a141a22e3f5695593d523906bde906f0431b527?
s=60&d=retro&r=g)

### 󠀁[Broken in WordPress 4.7](https://wordpress.org/support/topic/broken-in-wordpress-4-7/)󠁿

 [Dalton Rooney](https://profiles.wordpress.org/daltonrooney/) 22. decembra 2016

I would advise against using this plugin. In the latest WordPress update, selected
categories are no longer displayed on the posts page. Deactivating the plugin shows
the selected categories once again. It's too bad, this was a useful tool.

 [ Čitajće 14 pohódnoćenjow ](https://wordpress.org/support/plugin/the-taxonomy-sort/reviews/)

## Sobuskutkowarjo a wuwiwarjo

„The Taxonomy Sort“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu 
tykačej přinošowali.

Sobuskutkowarjo

 *   [ Risto Niinemets ](https://profiles.wordpress.org/ristoniinemets/)

[Přełožće „The Taxonomy Sort“ do swojeje rěče.](https://translate.wordpress.org/projects/wp-plugins/the-taxonomy-sort)

### Na wuwiću zajimowany?

[Přehladajće kod](https://plugins.trac.wordpress.org/browser/the-taxonomy-sort/),
hladajće do [SVN-repozitorija](https://plugins.svn.wordpress.org/the-taxonomy-sort/)
abo abonujće [wuwiwanski protokol](https://plugins.trac.wordpress.org/log/the-taxonomy-sort/)
přez [RSS](https://plugins.trac.wordpress.org/log/the-taxonomy-sort/?limit=100&mode=stop_on_copy&format=rss).

## Protokol změnow

#### 2.1

 * Fix: term queries that ask for ids, names or slugs came back empty, which emptied
   tag autocomplete, WooCommerce attribute terms and anything else built on them
 * Fix: two terms sharing a position made one of them disappear from every list
 * Fix: the sorting no longer costs one database query per term – it is done in 
   SQL, in the query that was going to run anyway
 * Fix: dragging on page two of a paginated taxonomy no longer renumbers over page
   one, which is what made the last terms of a long list look unsortable
 * Fix: rows can be dragged past the bottom of the table again
 * Fix: uninstalling now removes the order it saved (it was deleting post meta, 
   where nothing was ever stored)
 * Security: saving an order now requires a nonce and the capability to manage that
   taxonomy’s terms; any logged-in user could previously reorder every term on the
   site
 * Feature: `the_taxonomy_sort_define_taxonomies` and `the_taxonomy_sort_is_sortable`
   filters to limit where the order applies
 * Queries that ask for a specific order are left alone, so term sorting done by
   themes and other plugins keeps working
 * Tested against PHP 8.4 and WordPress 7.1

#### 2.0

 * Using now term meta

#### 1.1

 * Fix: Uninstallation hook notice
 * Feature: Activity spinner on saving the order

#### 1.0

 * Welcoming plugin to WordPress plugins!

## Meta

 *  Version **2.1**
 *  Last updated **1 měsac**
 *  Active installations **60+**
 *  WordPress version ** 6.0 abo nowši **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.4 abo nowši **
 *  Language
 * [English (US)](https://wordpress.org/plugins/the-taxonomy-sort/)
 * Tags
 * [categories](https://hsb.wordpress.org/plugins/tags/categories/)[ordering](https://hsb.wordpress.org/plugins/tags/ordering/)
   [sorting](https://hsb.wordpress.org/plugins/tags/sorting/)[taxonomy](https://hsb.wordpress.org/plugins/tags/taxonomy/)
   [terms](https://hsb.wordpress.org/plugins/tags/terms/)
 *  [Rozšěrjeny napohlad](https://hsb.wordpress.org/plugins/the-taxonomy-sort/advanced/)

## Pohódnoćenja

 4.1 out of 5 stars.

 *  [  10 5-star reviews     ](https://wordpress.org/support/plugin/the-taxonomy-sort/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/the-taxonomy-sort/reviews/?filter=4)
 *  [  2 3-star reviews     ](https://wordpress.org/support/plugin/the-taxonomy-sort/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/the-taxonomy-sort/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/the-taxonomy-sort/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/the-taxonomy-sort/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/the-taxonomy-sort/reviews/)

## Sobuskutkowarjo

 *   [ Risto Niinemets ](https://profiles.wordpress.org/ristoniinemets/)

## Podpěra

Chceće něšto prajić? Trjebaće pomoc?

 [Forum pomocy pokazać](https://wordpress.org/support/plugin/the-taxonomy-sort/)