• Hey everyone,

    I found one article that touched briefly on the formatting of the categories and subcategories, but it was in reference to 1.1, I believe.

    I’m trying to find a way for my sidebar to format the category as such:
    Parent Category 1
    (space/tab/whatever) Subcategory 1.1
    (space/tab/whatever) Subcategory 1.1
    Parent Category 2
    (space/tab/whatever) Subcategory 2.1
    (space/tab/whatever) Subcategory 2.2

    Right now, everything is all flushed left with no distinguishing between the parent and sub categories.

    Appreciate your help.

    Brian

Viewing 2 replies - 1 through 2 (of 2 total)
  • I asked about this a year ago and never got a reply and forgot all about it 🙂

    I too would like to know 🙂

    Thanks

    Er… there should be a parametre to allow hierarchical order in category list. And actually, I’m using just wp_list_cats and it lists them hierarchically. You can hide the list bullets so it looks like a tab/space and you can adjust the indentation by either left-padding or left-margin (I forget..).

    I checked the Codex and the hierarchical formatting is the default. You just need <ul> tags around the function call because it only generates list items

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Formatting Cat/Subcat List in Sidebar in v1.5’ is closed to new replies.