Adding menus on Amazing Grace theme.

Discussion in 'WordPress' started by magiclouie, Sep 4, 2010.

  1. #1
    Hello guys,

    Who among you here have tried using the Amazing Grace Theme?

    I want to add more menus but then I can’t still figure out on how to do it.

    I was expecting that these menus are categories, but when I added more categories, they didn't show up.

    [​IMG]

    If anyone has managed to conquer this one, I would appreciate some instructions.
    Thanks,
    magiclouie
     
    magiclouie, Sep 4, 2010 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That menu is built using the wp_list_categories function. One of its default settings is "Displays only Categories with posts".
    Do your missing categories have posts? If not, try creating a dummy post for each one.

    You can also change it to show empty categories if you like. Open header.php in the theme editor and replace this line, near the end:
    
    <?php wp_list_categories('orderby=count&order=DESC&show_count=0&hierarchical=1&title_li=&depth=1'); ?>
    
    Code (markup):
    With this line:
    
    <?php wp_list_categories('orderby=count&order=DESC&show_count=0&hierarchical=1&title_li=&depth=1&hide_empty=0'); ?>
    
    Code (markup):
     
    Cash Nebula, Sep 6, 2010 IP
  3. rob_

    rob_ Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I too was looking for this.. thanks for the guidance :)
     
    rob_, Sep 6, 2010 IP
  4. magiclouie

    magiclouie Active Member

    Messages:
    147
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    Thanks Cash Nebula, okay I am going to try follow your instructions.
     
    magiclouie, Sep 6, 2010 IP