I’ve been looking through the category based problems and there doesn’t seem to be anything like mine.
I’ve got a book blog with three different categories, author, geography, and subject matter. As it is now, I get all the categories listed down the sidebar one after the other and it’s tricky to see where one ends and the next begins.
What I’d like to do is have a section in the sidebar that only displays all subcategories under the author category id, and likewise with the other two so that I can put them where I want (i.e. author categories on left sidebar, geography on the right)
Is there a function that I can easily modify or one that I can copy three times and hard code the category ID I want a hierarchy of, for calling in my sidebars?
The topic ‘Functon to display subcategories based on a supplied category’ is closed to new replies.