Title: Sidebar Issues (Widgets)
Last modified: August 19, 2016

---

# Sidebar Issues (Widgets)

 *  Resolved [submo6](https://wordpress.org/support/users/submo6/)
 * (@submo6)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/sidebar-issues-widgets/)
 * I am trying to edit a theme and the widgets are not working. In the admin panel
   it says “No Sidebars Defined” Though my sidebars look basically identical to 
   the ones in the tutorial at – [http://automattic.com/code/widgets/themes/](http://automattic.com/code/widgets/themes/)–
 * Can anyone help me out?
 * This is what the sidebar code is, and the theme I am trying to use is – [http://www.am-fem.com/demo/](http://www.am-fem.com/demo/)
 * I am also using wordpress 2.5
 *     ```
       <div id="sidebar">
       		<ul>
   
       <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>
   
       	<li id="search">
       		<?php include(TEMPLATEPATH . '/searchform.php'); ?>
       	</li>
   
       	<li id="calendar"><h2><?php _e('Calendar'); ?></h2>
       		<?php get_calendar(); ?>
       	</li>
   
       	<?php wp_list_pages('depth=3&title_li=<h2>Pages</h2>'); ?>
   
       	<li><h2><?php _e('Categories'); ?></h2>
       		<ul>
       			<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
       		</ul>
       	</li>
   
       	<li><h2><?php _e('Archives'); ?></h2>
       		<ul>
       			<?php wp_get_archives('type=monthly'); ?>
       		</ul>
       	</li>
   
       	<?php get_links_list(); ?>
   
       	<li><h2><?php _e('Meta'); ?></h2>
       		<ul>
       			<?php wp_register(); ?>
       			<li><?php wp_loginout(); ?></li>
       			<?php wp_meta(); ?>
       		</ul>
       	</li>
   
       <?php endif; ?> 
   
       </ul>
   
       	</div>
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [psyphil](https://wordpress.org/support/users/psyphil/)
 * (@psyphil)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/sidebar-issues-widgets/#post-726801)
 * Put a functions.php file to your theme folder
 * With the content
 * <?php
 * if ( function_exists(‘register_sidebar’) )
    register_sidebar();
 * if ( function_exists(‘register_sidebar’) )
    register_sidebar(array( ‘before_widget’
   => ‘<div id=”%1$s” class=”widget %2$s”>’, ‘after_widget’ => ‘</div>’, ‘before_title’
   => ‘<div class=”widget-title”>’, ‘after_title’ => ‘</div>’, ));
 * ?>
 * This may help You. BTW quotes on Daydreamz are awesome.
 *  Thread Starter [submo6](https://wordpress.org/support/users/submo6/)
 * (@submo6)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/sidebar-issues-widgets/#post-726802)
 * Thank you so much for your help! It worked!!
 * For the quotes on my blog I found them around the internet. Just good simple 
   quotes to live by in life, inspirational, motivational type. I am using the [“Random Quotes” Plugin](http://www.zombierobot.com/wp-quotes/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sidebar Issues (Widgets)’ is closed to new replies.

## Tags

 * [defined](https://wordpress.org/support/topic-tag/defined/)
 * [not](https://wordpress.org/support/topic-tag/not/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)
 * [Themes](https://wordpress.org/support/topic-tag/themes/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 2 replies
 * 2 participants
 * Last reply from: [submo6](https://wordpress.org/support/users/submo6/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/sidebar-issues-widgets/#post-726802)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
