• teevee98

    (@teevee98)


    I have two menus [parent] with two different categories:
    ? Wheels
    ? Others

    I would like to add the brands as [Sub item] with the [Product tags] under each menu example Yamaha, Suzuki, Honda….etc..

    Example:
    ? Wheels
    o Yamaha
    o Suzuki
    o Honda

    ? Others:
    o Yamaha
    o Suzuki
    o Honda

    Issue:
    When I now click on example Honda under the Wheels category, then it shows all Honda products [both wheels and others] and not only the wheels category.

    How can I set a [Product tag] with a fixed parent menu?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Joy

    (@joyously)

    Each menu item is independent of the other items in the menu. They are all just links to pages that you have arranged in a hierarchy.
    You can customize each link to show exactly what you want, but where the link is in the menu has nothing to do with what the link shows.
    Your link should be something like mysite.com/?category_name=wheels&tag=honda

    Thread Starter teevee98

    (@teevee98)

    Hi,

    thank you for the reply.

    I tried following:
    /?category_name=wheels&tag=honda
    /product-category/wheels/tag=honda

    and both get me to a page with following error:
    “Oops! That page can’t be found.
    Nothing was found at this location. Try searching, or check out the links below.”

    Are you sure above is correct?

    Joy

    (@joyously)

    My example was for the standard post type and standard taxonomies. Obviously, you will have to use the correct query variables for your custom post type and taxonomies.
    Don’t mix slashes with query variables, and you need at least a ? to make the query variables work — that’s just standard URL stuff.

    There is an old plugin Query Multiple Taxonomies that is no longer supported. The plugin page has some other plugins to recommend instead. But you can try it and see the URLs that it makes, if nothing else.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Menu Sub item with fixed parent?’ is closed to new replies.