• Hi,

    I’m using a child version of the twentytwelve theme.

    For the webshop part of my website I created a sidebar menu widget to help visitors navigate my products. The menu is working but all the categories and subcategories are showing at all times.

    I want to make it such, that only the subcategories of the active parent are showing. E.g. when a visitor clicks on furniture it should look like this:

    >Furniture
     >>Chairs
     >>Tables
     >>Garden Furniture
    >Decoration

    I have been searching for an up-to-date tutorial and tried solutions from other threads but I cannot seem to make it work.

    Is there anyone who can help me?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The menu is working but all the categories and subcategories are showing at all times.

    Without a link, we will be hard pressed to even guess..

    Thread Starter ____

    (@prince09d)

    Without a link, we will be hard pressed to even guess..

    I’m working on my site using xxamp so I cannot send you a link.

    This is what it looks like. So no matter which main category is selected, the subcategories will always be visible. Since I’m planning on adding a plethora of subcategories, this will look anything but aesthetically pleasing.

    Thread Starter ____

    (@prince09d)

    This image shows what I want my menu to look like when, in this example, the category Furniture is selected. So only the subcategories related to Furniture should be visible.

    [No bumping. If it’s that urgent, consider hiring someone.]

    Thread Starter ____

    (@prince09d)

    Fixed this one. Woocommerce (the plugin i’m using for my webshop/product gallery) included a category widget which had the “hide subcategories” widget built-in…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide subcategories in sidebar menu’ is closed to new replies.