Title: Sidebar code is incorrect?
Last modified: August 20, 2016

---

# Sidebar code is incorrect?

 *  Resolved [Feathersoup](https://wordpress.org/support/users/feathersoup/)
 * (@feathersoup)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-code-is-incorrect/)
 * Please help me I am new to this and well maybe someone see soemthing that I do
   not.
 * here is my sidebar code:
 * <?php
    /** * The Right Sidebar * * [@package](https://wordpress.org/support/users/package/)
   WordPress * @subpackage Minimatica * [@since](https://wordpress.org/support/users/since/)
   Minimatica 1.0 */ ?>
 * <div id=”sidebar” class=”widget-area” role=”complementary”>
    <?php if( is_active_sidebar(
   1 ) ) : ?> <?php dynamic_sidebar( 1 ); ?> <?php else : ?> <?php the_widget( ‘
   WP_Widget_Search’ ); ?> <?php the_widget( ‘Minimatica_Ephemera_Widget’, array(‘
   title’ => ‘Asides’ ) ); ?> <?php the_widget( ‘WP_Widget_Pages’ , array( ) ); ?
   > <?php endif; ?> </div><!– #sidebar –>
 * What am i missing?? Thank you…

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

 *  [govpatel](https://wordpress.org/support/users/govpatel/)
 * (@govpatel)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-code-is-incorrect/#post-2725157)
 * when you add your widget to the sidebar those the only one displayed if there
   none added then the default will show.
 *  Thread Starter [Feathersoup](https://wordpress.org/support/users/feathersoup/)
 * (@feathersoup)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-code-is-incorrect/#post-2725163)
 * oh it’s actually My sidebar is now acting like a footer. It will no longer go
   along side the main content and now goes below any text i write in. [http://heyokaplay.com/new-thingy/](http://heyokaplay.com/new-thingy/)
 * I must have done something because last night this was working fine. But ow now.
 *  [colorvila](https://wordpress.org/support/users/colorvila/)
 * (@colorvila)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-code-is-incorrect/#post-2725177)
 * Seen from your site, you should edit your css file.
    add this to your style.css:
 *     ```
       .hentry .entry-content {
           float:left;
           width:710px;
       }
       ```
   
 *  Thread Starter [Feathersoup](https://wordpress.org/support/users/feathersoup/)
 * (@feathersoup)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-code-is-incorrect/#post-2725195)
 * Worked like a charm. Thank you Very Much.
 *  Thread Starter [Feathersoup](https://wordpress.org/support/users/feathersoup/)
 * (@feathersoup)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-code-is-incorrect/#post-2725210)
 * Actually now there is a constant sidebar on all my pages like videos (Which I
   would like to have just scan across the page) How would this be fixed? Cheers,
 *  Thread Starter [Feathersoup](https://wordpress.org/support/users/feathersoup/)
 * (@feathersoup)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-code-is-incorrect/#post-2725231)
 * What I mean is there is a pages widget displaying all my pages on almost all 
   my pages (Except for the ones that have an existing widget). I don’t see the 
   option in the widget area to remove it. Not sure where to go from here.
 *  Thread Starter [Feathersoup](https://wordpress.org/support/users/feathersoup/)
 * (@feathersoup)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-code-is-incorrect/#post-2725236)
 * Got it I went into sidebar and deleted
 * <?php the_widget( ‘WP_Widget_Pages’ ); ?>
 * (probably seems easy but hopefully helps someone save time 🙂

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

The topic ‘Sidebar code is incorrect?’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [Feathersoup](https://wordpress.org/support/users/feathersoup/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-code-is-incorrect/#post-2725236)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
