Support » Plugin: The Taxonomy Sort » Disappearing categories

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Risto Niinemets


    Thank you for your feedback. I will certainly have a look in this matter soon enough!

    I’m having the same problem. As soon as I add the add_interface_taxonomy_order function, all my categories disappear. I’m using WordPress 3.6 and trying to get the custom sorting working on a custom taxonomy.

    Same issue here. When looking at the terms in the taxonomy on the backend, above and below it says “6 items”, however there are only 5 visible items. When the plugin is turned off the 6th item returns.

    I have an inkling that the taxonomy term with the issue was deleted and then re-added.

    I had the same issue with a site I inherited. It looks like some terms were saving the same custom order. For example, tag3 and tag4 would both be set to show up in the 2 slot. I’m not sure if it was due to deleted tags, tags that existed before the plugin, or what.

    When the plugin looped through the tags it would choke. Instead of a new set of terms with the 20 items you would only get back 19 after the plugin got done with its loop.

    If you place the code below roughly above line 136 (where it says $placeholder[$term_key] = $object;) it should fix the issue:

    // check for duplicate term_key values
    foreach ($placeholder as $k => $v) {
    	if ($term_key == $k) {
    		$term_key = $invalid_key;
    // add object to placeholder by it's key
    $placeholder[$term_key] = $object;

    The loop will first check to see whether the custom order slot was used by a previous tag. If it finds a duplicate, it will place it in another slot.

    That gets it to display all the tags.

    You may still have a couple items showing out of order. In that case you may have to reorder the tag to save a new order, or even delete and re-add the tag. The trick is moving all the tags around so that their order accordion to the plugin gets a value.

    I am having the same issue but armageddon442’s fix doesn’t seem to work for me.

    Any other solutions? To reset the issue I had to delete some transitions in the options table.

    same issue.

    Same issue here

    I’ve fixed (hopefully) all the bugs that people are reporting. You can grab a copy of the revised plugin here:

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Disappearing categories’ is closed to new replies.