• Hi all, I’m working on a theme which needs to make subcategories stored on the parent cateory path…

    For example, the parent category is “Parent”, and the child is “Child”. How can I make the path to that subcategory to be “parent/child” instead of just “child”?

    Thanks in advance,
    Combus

Viewing 2 replies - 1 through 2 (of 2 total)
  • There are no “paths” for categories as such in WordPress – just relationships. Simply make Child a sub-category of Parent and then let WP do its thing.

    Thread Starter combus

    (@combus)

    That’s what I tried, but the URLs keep beign “/child” and not “parent/child”

    Also, how do I make child categories to search for the parent category template? Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Making sub-categories path to include parent category’ is closed to new replies.