• Hello,

    I’m getting the “No Sidebars Defined, The theme you are currently using isn’t widget-aware…” message when I hit my Appearance > Widget tab – and my side bar stuff doesn’t show up (a photo gallery) on the site. All of this was working fine, I believe, until I installed a new widget (Thumbnail for Excerpt widget). I’ve since deactivated, and then removed the new widget, upgraded to the last version of WordPress, deactivated other widgets – all to no avail. I’ve also read extensively and tried out updating the function.php and sidebar.php files – still doesn’t work – no side bar widgets and same message as above.

    Currently in my functions.php I have this code:

    if ( function_exists('register_sidebar') )
        register_sidebar(array(
            'before_widget' => '<li id="%1$s" class="widget %2$s">',
            'after_widget' => '</li>',
            'before_title' => '<h2 class="widgettitle">',
            'after_title' => '</h2>',
        ));

    and in the sidebar.php code I have:

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

    I’ve read many sites and tried different variation of the above code – but still nothing. I can’t link to the site because it is behind a “firewall/secure set up”

    Thanks to anyone that can give me clue here?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try switching to another theme. If the problem is only with your current theme, can you delete and reinstall it?

    BACK UP THE SITE before you delete!

    Thread Starter eyebuzz

    (@eyebuzz)

    Hello…thanks. I didn’t want to change themes as I’d done extensive customization to that one — but I did find a solution. What I did was download WP to my computer and just uploaded the functions.php file to my WP site. Since I was using Kubrick’s Default design I had download an earlier version of WP – I used version 2.9 from here:

    https://www.ads-software.com/download/release-archive/

    Best, TT

    You won’t lose anything by switching temporarily to another theme – you just switch back (at least on newer versions of WP!).

    IMHO, you should adapt your theme to a newer version of WP for added security and functinality.

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