Viewing 2 replies - 1 through 2 (of 2 total)
  • miletjs

    (@miletjs)

    Hello,

    I have upgraded to the new version which is widget-ready. I also browse through http://automattic.com/code/widgets/themes/ to widgetized my theme. However it still doesn’t work:

    I am using markup

    <h2></h2>
    <ul><li></li>
    </ul>

    I changed my widgets.php to this:

    'before_widget' => '<ul id="%1$s" class="widget %2$s">',
    		'after_widget' => "</ul>\n",
    		'before_title' => '<h2 class="widgettitle">',
    		'after_title' => "</h2>\n",

    I also include class=”widgettitle” in all my h2 tags and id tag to all my ul tags

    I also put this code in my sidebar page:

    <?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar() ) : ?>

    But it still doesn’t work, still see this from widgets page:

    You are seeing this message because the theme you are currently using isn’t widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please follow these instructions.

    What am I doing wrong?

    I hope to hear help from wordpress guru out there.. thanks a lot…

    miletjs

    (@miletjs)

    hmmm… any help would be appreciated …

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Customizing the sidebar widget’ is closed to new replies.