Support » Themes and Templates » No Sidebars Defined

  • Resolved stiky

    (@stiky)


    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.

    I am using the Theme “Memories of the Past 1.1” and i love it!

    But i want to make it able to use Widgets, but theres on problem. It doesn’t have a Sidebar defined. I have read “http://automattic.com/code/widgets/themes/” and do not understand any of it!

    I love this theme and i don’t want to revert back to another one.

    Anyone help me? πŸ™

Viewing 8 replies - 1 through 8 (of 8 total)
  • This should work. In sidebar.php, add this just after the first < ul > :

    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>

    Add this just before the last < /ul > :

    <?php endif; ?>

    Now create a new, blank page in your editor and save it as functions.php . Place this on the new functions.php page:

    <?php
    if ( function_exists('register_sidebar') )
        register_sidebar();
    ?>

    Upload functions.php and sidebar.php to the theme folder. Your sidebar should now be widgetized.

    Sweet, thanks!

    It did not work πŸ™

    NM, it did!!! Thank you so much!!!

    No problem. Glad you got it working!

    Thanks! I had to do this too. This information isn’t in the instructions for widgitising your sidebar, which I understood completely, and my sidebar was fine.

    Thanks a lot!!!

    I was about to reinstall everything!! πŸ™‚

    thanks, there are really good people here

    These instructions sound pretty good and understandable for beginners (I also have no idea what the ‘official’ widgetizing instructions mean) – but what should I do if I don’t find any < ul > oder < /ul > in my sidebar.php? Where should I put the lines then?

    I use Lainlog 1.0, and the only thing missing are widgets, but I don’t want to change my theme now I found the perfect one at last.

    If I’ve got two sidebars ?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘No Sidebars Defined’ is closed to new replies.