sidebar not accepting widgets?

Discussion in 'WordPress' started by chanellno1, Mar 28, 2008.

  1. #1
    Hello,

    I've been trying to get my sidebar widgetized for a couple of days now, and I have not been successful. As far as I can tell I've been following the instructions that I've read in other posts concerning this issue, but for me it does not seem to be working.

    Okay...heres what I've done, in sidebar.php I have this at the top of the file:

    <div id="sidebar">
    <?php if (function_exists('dynamic_sidebar')) {dynamic_sidebar('Right'); } ?>
    <div id="rss">
    " title="RSS FEED"><img border="0" src="<?php bloginfo('stylesheet_directory'); ?>/images/rss.gif" width="150" alt="RSS FEED"height="28">
    </div>
    PHP:
    I had to make a functions.php, because my theme didn't come with one; and this is what I have in that file.

    <?php
    if ( function_exists('register_sidebar') )
    register_sidebar(array(
    'before_widget' => '<li id="%1$s" class="widget %2$s">',
    'after_widget' => '',
    'before_title' => '',
    'after_title' => '',
    ));
    
    ?>
    PHP:
    I drag an drop the widgets in the admin area, and click save. It says that the widget has been added and to view the site, then when I view the site, nothing is different.

    you can see the theme at http://www.asiaticblackpoets.com/wordpress/

    any assistance will be greatly appreciated.

    thx. :confused:
     
    chanellno1, Mar 28, 2008 IP