How can I use depth=2 with the get_categories function? I tried
but the above code didn’t work. The theme I purchased doesn’t allow me to use wp_list_categories (where depth is a variable for it) so I have no other choice but to figure out how to make it work in get_categories. Thanks for looking.
- The topic ‘Using depth with get_categories?’ is closed to new replies.