[resolved] Need help in defining my sidebar (3 posts)

  1. scoslow
    Posted 6 years ago #

    I'm in the process of designing my own theme and I can't get my sidebar widget aware.
    I get the:

    no sidebars defined

    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 did follow the instructions from the link that was provided. But I've been having no such luck. Any assistance would greatly be appreciated.

    <div id="sidebar">
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar() ) : ?>
    <div class="title">Recent Posts</div>

    <div class="title">Links</div>

    <?php endif; ?>


    if ( function_exists('register_sidebar') )
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<div class="title">',
    'after_title' => '</div>',

    Link to my site.

    Thanks in advance

  2. scoslow
    Posted 6 years ago #

    could some please help...

    I'm a bit of a noob at php so any assistance would just be wonderful :)

    Thanks in advanced

  3. scoslow
    Posted 6 years ago #

    Well I figured it out... :/

    Turns out I spelled the functions.php file wrong and that's why it wasn't working.

Topic Closed

This topic has been closed to new replies.

About this Topic