Wordpress categories question

Discussion in 'WordPress' started by longroad, Jul 20, 2006.

  1. #1
    Im using a theme called Sky3c with Wordpress.
    Just wondering, and its not explicitely related to this theme, but is there a way to get the categories to show up in levels?

    Ie I have set up in the admin:

    Main
    - Sub
    - Sub

    Main2
    - Sub
    - Sub

    But on the actual site the categories are listed as:
    Main
    Main2
    Sub
    Sub
    Sub
    Sub

    essentially making multi-level categories pointless if they are not going to display in levels.

    I recall seeing a blog with category levels but cant remember where it was.

    Is there a plugin or inbuilt WP function that will allow me to display categories in levels?
     
    longroad, Jul 20, 2006 IP
  2. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #2
    Could you let me see your blog?
     
    Richie_Ni, Jul 21, 2006 IP
  3. longroad

    longroad Well-Known Member

    Messages:
    1,645
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    155
    #3
    Not really, sorry
    I figured i explained it well enough for people to have an idea what Im talking about
     
    longroad, Jul 21, 2006 IP
  4. Jean-Luc

    Jean-Luc Peon

    Messages:
    601
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Jean-Luc, Jul 21, 2006 IP
  5. Vi5

    Vi5 Guest

    Messages:
    90
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Set "hierarchical=1" in the code.

    EG
    <li>
    <h2>Categories</h2>
    <ul>
    <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=1'); ?>
    </ul>
    </li>
    in your sidebar
     
    Vi5, Jul 23, 2006 IP
  6. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #6
    This is the current one i have -
    <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>
     
    amitpatel_3001, Jul 23, 2006 IP
    SumitBahl likes this.
  7. longroad

    longroad Well-Known Member

    Messages:
    1,645
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    155
    #7
    This is what I currently have for list_cats

    <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>

    Looks the same as yours amitpatel_3001, do yours show up in levels?
     
    longroad, Jul 24, 2006 IP
  8. longroad

    longroad Well-Known Member

    Messages:
    1,645
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    155
  9. jeeplaw

    jeeplaw Well-Known Member

    Messages:
    827
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    118
    #9
    jeeplaw, Jul 26, 2006 IP
  10. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #10
    Can we know the name of the plugin?
     
    amitpatel_3001, Jul 26, 2006 IP
  11. jeeplaw

    jeeplaw Well-Known Member

    Messages:
    827
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    118
    #11
    jeeplaw, Jul 27, 2006 IP
  12. longroad

    longroad Well-Known Member

    Messages:
    1,645
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    155
    #12
    Very nice plugin, is it easy to get it working?
     
    longroad, Jul 27, 2006 IP
  13. jeeplaw

    jeeplaw Well-Known Member

    Messages:
    827
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    118
    #13
    Very much so..it's made my sitebuild that much easier using wordpress.
     
    jeeplaw, Jul 27, 2006 IP
  14. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #14
    Good one :)
    Just installed it but it shows .... in place of posts name in the Archives :confused:
     
    amitpatel_3001, Jul 27, 2006 IP
  15. revsorg

    revsorg Peon

    Messages:
    190
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #15
    I installed wp-dtree on one of my sites last night, it took about 15 minutes, including installing WP-Scriptaculous

    Now I've got Scriptaculous on Wordpress does anyone know any simple things I can do on my site to take advantage of it?
     
    revsorg, Jul 28, 2006 IP