WordPress.org

Ready to get started?Download WordPress

Forums

Functon to display subcategories based on a supplied category (1 post)

  1. booklit
    Member
    Posted 6 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic