Ok every theme I install I get this 'sidebar not defined' error message when I try to add a widget. So I follow the instructions with the link provided, and whenever I attempt to edit the functions.php file, wordpress tells me 'requested theme does not exist' and its not just the functions.php file, its any of the theme files! ..... WTF!
Which theme are you using? The defualt WP one? Try going to re-activate the theme in the backend to redefine the URL for it. Also make sure that the folder is CHMOD'd to 777 if you want to edit the theme files.
<?php if ( function_exists('register_sidebar') ) register_sidebar(array( 'before_widget' => '', 'after_widget' => '', 'before_title' => '<div class="title">', 'after_title' => '</div>', )); ?> PHP:
Strange. The theme is visible in the "Design" section and you can select it? Do you edit the theme from WordPress admin interface or modify files directly on disk?
First of all, does that design is suitable for current wordpress version? Some of the template does not suitable with the latest wordpress version, even though it does appear at the DESIGN PAGE. Solutions: Try to use default theme first and try that sidebar. If it does not work, it mean your wordpress blog have a problem either at functions.php as you mentioned. If it works well, it mean its all about your template. Hopefully this help, Ramzan Rozali