• Resolved Andrew Dixon

    (@aandrewdixon)


    I’ve created a custom taxonomy that is set to be hierarchical and I’ve added some terms to it, however, the WP Admin will not appear to let me set the same slug name for a child term under two different parent terms, e.g.:

    Term 1 – Sub Term
    Term 2 – Sub Term

    What WP keeps doing is changing the “Sub Term” slug by appending the parent term at the end, so I end up with:

    /term-2/sub-term-term-2/

    If I manually edit the slug to remove “term-2” and save, I just get the message “Item not updated.”.

    As they are in a parent-child hierarchy, it seems like something that should be allowed. I’ve checked all the settings I can see, which are:

    hierarchical: true
    rewrite_hierarchical: true

    What am I missing?

    Thanks

    Andrew

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    not quite managing to recreate that, with the -2 part, but I am seeing slugs get suffixed with the parent term when trying to use the same slug:

    https://cloudup.com/czeSAepsCQE

    That said, I don’t believe this is necessarily an issue with CPTUI itself, but more how WordPress handles matching slugs in the same taxonomy.

    Thread Starter Andrew Dixon

    (@aandrewdixon)

    Hi Michael,

    Thanks for the reply and I understand it is probably WP core and not the plugin but I thought people here might have an idea of a resolution for the issue.

    I tried the WordPress stack exchange group already, but they suggested asking here!!! ??

    If anyone has any ideas for a resolution, I’d be interested in hearing.

    Thanks

    Kind regards,

    Andrew.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Noted. I don’t have a solution myself, but I am willing to leave things open for awhile to see if someone else chimes in.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Same taxonomy slug under different parent in hierarchical taxonomy’ is closed to new replies.