WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] No Sidebars Defined (9 posts)

  1. stiky
    Member
    Posted 6 years ago #

    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? :(

  2. SusieN
    Member
    Posted 6 years ago #

    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.

  3. stiky
    Member
    Posted 6 years ago #

    Sweet, thanks!

  4. stiky
    Member
    Posted 6 years ago #

    It did not work :(

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

  5. SusieN
    Member
    Posted 6 years ago #

    No problem. Glad you got it working!

  6. webmystery
    Member
    Posted 6 years ago #

    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.

  7. javiquil
    Member
    Posted 6 years ago #

    Thanks a lot!!!

    I was about to reinstall everything!! :)

    thanks, there are really good people here

  8. crazykaro
    Member
    Posted 6 years ago #

    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.

  9. blacksnoopy
    Member
    Posted 6 years ago #

    If I've got two sidebars ?

Topic Closed

This topic has been closed to new replies.

About this Topic