Support » Plugin: Taxonomy Switcher » Loses hierarchy when switching

  • Resolved mpmchugh

    (@mpmchugh)


    I’ve tried various methods (i.e. with or without parent IDs), but can seem to get taxonomies to switch with their hierarchy intact.

    If you select a specific parent, it’s children and their hierarchies switch intact, bu the top-level specified is gone.

    If you just do all, then only the top level get switched, and all the children and grand-children are left behind.

    Seems a bit unpredictable.

    -Michael

    https://wordpress.org/plugins/taxonomy-switcher/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    Morning Michael

    For the sake of testing and seeing if I can recreate, can you please provide a small sample hierarchy of what you have and note which taxonomy terms you are having the plugin change? I’d like to see what’s going on first hand on my own dev install and do what I can to determine the behavior.

    Thread Starter mpmchugh

    (@mpmchugh)

    Hi Michael,

    I managed to get what I needed to work.

    I think there’s a possible incompatibility with the Enhanced Media Library (EML) plugin. I had been using another plugin that allows categories for Media called Media Library Categories (MLC), and I was attempting to switch from MLC to EML.

    MLC basically used the Posts Categories whereas EML uses a custom taxonomy called Media Categories. I was trying to uncouple my media categories, which were the bulk from the few posts categories.

    When I tried converting 170 or so nested “Artists” categories, about 40 2nd-level with varying 3rd level cats, I was getting the behavior above — i.e. not completing or losing hierarchy.

    However, I found out that MLC can be configured via a function to use separate media categories, which wasn’t a feature when I first deployed it, and I was able to move them all over to that using Taxonomy Switcher and then move the few posts categories back.

    I still think there’s a functionality issue of moving a single category tree in that it loses it’s enclosing parent category (i.e. the one specified).

    Does that all make sense?

    -Michael

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    For the most part, yep. Nothing lingering on my end to bring up any new questions at least.

    If you have a GitHub account and want to file an issue for the functionality issue, we have https://github.com/WebDevStudios/taxonomy-switcher/issues.

    Good to hear you got things taken care of in the end, as well.

    Thread Starter mpmchugh

    (@mpmchugh)

    Thanks. I submitted an issue regarding the lost parent category when specifying a category to switch.

    -mpm

    Hi Michael and MpMchugh,

    I just got the same problem as MPM, but not able to resolve it yet.

    I currently have a blog with around 1000 blogposts, ordered in 175 categories. For a specific function I want to install, I need all my categories to move into taxonomies. However the hierarchy is gone after I did it.

    For example, I have:

    – Recipes
    – – Sort of recipe
    – – – Soup, bread, pasta, breakfast, sweets etc.

    After moving everything that is a child of ‘sort or recipe’ I just get one bunch of taxonomies, not ordered.

    Can you please advise? MPM I would love to get in touch with you, since it seems that you were looking for the same answer and you managed yourself 🙂

    Thank you!

    Plugin Support Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not sure if mpmchugh will show up again, but hopefully with some insight about what he did.

    I am a little curious if the “sort of recipe” term being a middle child had something to do with it.

    Is “Recipes” a term as well? or is that the taxonomy slug?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Loses hierarchy when switching’ is closed to new replies.