Title: Widget Sidebar Trouble
Last modified: August 19, 2016

---

# Widget Sidebar Trouble

 *  [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/widget-sidebar-trouble/)
 * Hi,
 * I’m currently running a the simple cms wordpress theme – it doesn’t have a sidebar
   or functions file.
 * I have now created a sidebar file which works fine (statically). I am now wanting
   to widgetize my them and therefore have created a functions file.
 * My functions file is:
 *     ```
       <?php
       if ( function_exists('register_sidebar') )
           register_sidebar();
       ?>
       ```
   
 * and my sidebar is:
 *     ```
       <?php if ( !function_exists('dynamic_sidebar')
               || !dynamic_sidebar() ) : ?>
       ```
   
 * I now have two problems – firstly the widgets are now available to me but don’t
   actually show in the sidebar and the 2nd is it stops everything below the sidebar
   rendering i.e. the footer etc.
 * Am I doing something wrong here? I’d ideally like to put a contact form in the
   sidebar.

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/widget-sidebar-trouble/#post-1789279)
 * [http://codex.wordpress.org/Function_Reference/dynamic_sidebar](http://codex.wordpress.org/Function_Reference/dynamic_sidebar)
 * there might be a `endif;` missing in your sidebar.php
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/widget-sidebar-trouble/#post-1789285)
 * ahh I’ll try it now thanks
 *  Thread Starter [double_dd](https://wordpress.org/support/users/double_dd/)
 * (@double_dd)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/widget-sidebar-trouble/#post-1789289)
 * That was it – Thanks very much alchymyth

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

The topic ‘Widget Sidebar Trouble’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [double_dd](https://wordpress.org/support/users/double_dd/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/widget-sidebar-trouble/#post-1789289)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
