Parent/Child in URL

Forums › Forums › Search & Filter Pro › Parent/Child in URL

Tagged: , ,

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #163171

    Example:

    I have a custom post type called ‘Topics’ and there are main topics and some sub-topics that within that, how do I get the slug to show ?_sft_topics=business-of-healthcare for the main topic (Business of Healthcare) and for the sub topic it show ?_sft_topics=business-of-healthcare/branding ?

    Also has anyone yet to figure out how to rewrite the ?_sft_ to something else I’ve searched everywhere.

    Trevor
    #163240

    It will not do that for you. The only way you can get both to show in the url is to have separate taxonomies, one for the parent and one for the child. This can be done using plugins to move the taxonomy terms. It would then allow you to have two fields in the search form.

Viewing 2 posts – 1 through 2 (of 2 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.