Hello,I have a theme that was purchased called "The Clothes Shop". However the developer no longer supports or does custom work of this theme. So support is limited to just some FAQs on the site.

I ran into an issue where the sub navigation section will display all child, grandchild and subs no matter what parent category you are in. I would like to only show one level deep on whatever category I'm currently on. I've tried fooling around with the depth parameters in the code, but I'm not as familiar with PHP to fully comprehend the change I'm making. Seems like it should work by changing those values.

Bellow is the full include file of the code to display the sub navigation section.

depth (integer) This parameter controls how many levels in the hierarchy of Categories are to be included in the list of Categories. The default value is 0 (display all Categories and their children). NOTE - From #L289: The 'hierarchical' argument, which is disabled by default, will override the depth argument, unless it is true. When the argument is false, it will display all of the categories. When it is enabled it will use the value in the 'depth' argument. This parameter added at Version 2.5

Thanks for that. I tried adding the hierarchical=1 setting and it did not change the way it was displayed. I did however add in &depth=1 in all the wp_list_categories. This got rid of the extra sub grandchild categories.

However, because of this setting, when I'm on the grandchild categories, their sub categories no longer show up. So I will have to play with that a bit or figure out why the hierarchical setting did nothing. It could be because of the $catDepth==1 parameter overriding the inline depth setting?