Support » Themes and Templates » Trouble Getting my Sidebar Widget-aware

  • I am trying to get my theme widget-aware. I put in the code from the automattic website, but I’m still getting this when I go to manage my widgets:

    “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.”

    Here is my sidebar code:

    <div id="sidebar">
    <ul id="sidebar">
    <?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar() ) : ?>
    <li id="about">
      <h2>About</h2>
      This is just me testing to see if ANYTHING shows up in the sidebar!
    
     </li>
    <?php endif; ?>
    </ul>
    </div>

    The about section is showing up.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter rense

    (@rense)

    Okay, I stopped getting the “about” section to show up and instead received this error:

    Warning: main(/home/allirens/public_html/testblog/wp-content/themes/hacdc/searchform.php) [function.main]: failed to open stream: No such file or directory in /home/allirens/public_html/testblog/wp-content/themes/default/sidebar.php on line 6

    I’m going to delete the php code for now, but I really need the widgets working.

    Thread Starter rense

    (@rense)

    I still don’t know how to fix this. Could someone please help? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trouble Getting my Sidebar Widget-aware’ is closed to new replies.