Wordpress Categories in Sidebar

Discussion in 'PHP' started by steve_gts, May 26, 2009.

  1. #1
    Can anyone see the error in this code?

    You can see it installed at: http://www.netproductcenter.com.
    I have created two categories, but they are not visible on the main screen template's sidebar. I realized that there is an error
    in this sidebar.php file, at this place of code:

    <div class="sidebar1">
    <ul>
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('sidebar 1') ) : else : ?>
    <?php wp_list_categories('orderby=name&show_count=0&title_li=

    <h2>Categories</h2>'); ?>
    <li>

    What is the correct coding in order to make this theme work?

    Any help, greatly appreciated!

    Thanks,
     
    steve_gts, May 26, 2009 IP
  2. alfa_375

    alfa_375 Active Member

    Messages:
    445
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #2
    I think your categories are empty, there is no post in it. Just post anything in each category you created and see.
     
    alfa_375, May 26, 2009 IP