Showing subcategories under main categories in the sidebar

  • Author
    Posts
  • #30452

    burmablog
    Member

    Hi,

    I saw some similar posts, but none asking this exact question, so I’m decided to try and hope for an “it’s possible” answer…

    I’d like my side bar to show subcategories under categories, not to have them all alphabetized together. For example:

    Baseball
    -Red Sox
    -Tigers
    -White Sox
    Football
    -Broncos
    -Jets
    -Patriots

    Instead of (what it currently shows):

    Baseball
    Broncos
    Football
    Jets
    Patriots
    Red Sox
    Tigars
    White Sox

    I’ve tried several different themes and I can’t find one that does this. Is there a way I can change the sidebar widget? Or is there a theme that takes advantage of the categories and subcategories organization?

    Thanks.

    #30608

    I’m not sure and it’s something I would be interested in knowing. Not that it would make me switch themes, I use Regulus and it doesn’t differentiate the sub-categories, but it’s only a minor irritant for me.

    BBB.

    #30621

    eclecticgeek
    Member

    I had it to differentiate with Regulus but my category list was way too long in my sidebar. I just copied and pasted right from the category widget and created an index page.

    @BBB
    I looked at your page source info and there is a difference between what is in your category widget and what’s on my index page (copied from my widget). I have a class=”children” designation which sets up the hierarchy and you don’t. You just have a straight list even though I see you have created subcategories. I have no clue how you can fix this or if someone “behind the scenes” needs to take a look.

    @burmablog
    Perhaps this is something you can check. Look at the page source and see if you have class=”children” in the code for your category list.

    Hope this helps.

    FYI for those reading: I view page source in Firefox by right-clicking and choosing “View Page Source”.

    #30646

    drmike
    Member

    If you’re using the category widget, make sure the hierarchy check box is marked and saved. Dashboard -> Presentation -> Sidebar Widgets.

    If you’re not using widgets, then you’re stuck with however the theme designer created their theme.

    #30655

    eclecticgeek
    Member

    Thanks drmike. Couldn’t remember how I did it.

    #30660

    drmike
    Member

    Not a problem. :)

    #30703

    Thanks drmike, I’ll take a look.

    BBB.

    #30810

    burmablog
    Member

    Perfect. Thank you Dr. Mike!

    #30813

    timethief
    Member

    If you need step by step instruction you will find it here
    http://bloggersblurt.wordpress.com/2006/09/17/widget-wizardry/

The topic ‘Showing subcategories under main categories in the sidebar’ is closed to new replies.