Title: sidebar is below posts after adding additional category
Last modified: August 18, 2016

---

# sidebar is below posts after adding additional category

 *  [teknicks](https://wordpress.org/support/users/teknicks/)
 * (@teknicks)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/sidebar-is-below-posts-after-adding-additional-category/)
 * Reference [http://www.couofm.com](http://www.couofm.com)
 * For some reason, I added a new category, and tagged a few posts as that category.
   Then my normal META, BLOGROLL, LINKS, etc “sidebar” are all located below my 
   posts, so they dont show up on the right side next to the posts… here is my sidebar.
   php from my admin console:
 * <div id=”sidebar”>
    - <h2>Archives</h2>
 *  -  <?php wp_get_archives(‘type=monthly’); ?>
 *  - <h2>Categories</h2>
 *  -  <?php wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0’); ?>
 *  <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    <?php
   get_links_list(); ?>
    -  <?php ec3_get_calendar(); ?>
    - <h2><?php _e(‘Events’); ?></h2>
       <?php ec3_get_events(5); ?>
    - <h2>Podcasts of Latest Pursuingchrist.info Resources</h2>
    - 
    - <?php podPress_iTunesLink(); ?>
    - <h2>Verse</h2>
       <?php wp_votd(); ?>
    - <h2>Weather</h2>
       <?php if (function_exists(‘WeatherIcon’)) : ?>
    - Minneapolis, MN
 *  - <?php WeatherIcon(‘station=KMSP’); ?>
 *  - <h2>Meta</h2>
 *  -  <?php wp_register(); ?>
    - <?php wp_loginout(); ?>
    - [ Site hosted by Teknicks Computer Consulting](http://www.teknicks.net)
 *  -  <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
    -  <!– Author information is disabled per default. Uncomment and fill in your
      details if you want to use it.
    - <h2>Author</h2>
       A little something about you, the author. Nothing lengthy,
      just an overview.
    -  –>
    -  <?php /* If this is a 404 page */ if (is_404()) { ?>
       <?php /* If this is
      a category archive */ } elseif (is_category()) { ?> You are currently browsing
      the archives for the <?php single_cat_title(”); ?> category.
    -  <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
       You are
      currently browsing the /”><?php echo bloginfo(‘name’); ?>
       weblog archives
      
      for the day <?php the_time(‘l, F jS, Y’); ?>.
    -  <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
       You 
      are currently browsing the /”><?php echo bloginfo(‘name’); ?>
       weblog archives
      
      for <?php the_time(‘F, Y’); ?>.
    -  <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
       You are
      currently browsing the /”><?php echo bloginfo(‘name’); ?>
       weblog archives
      
      for the year <?php the_time(‘Y’); ?>.
    -  <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
       You
      have searched the /”><?php echo bloginfo(‘name’); ?>
       weblog archives
       for**‘
      <?php echo wp_specialchars($s); ?>’**. If you are unable to find anything 
      in these search results, you can try one of these links.
    -  <?php /* If this is a monthly archive */ } elseif (isset($_GET[‘paged’]) &&!
      empty($_GET[‘paged’])) { ?>
       You are currently browsing the /”><?php echo 
      bloginfo(‘name’); ?>
       weblog archives.
    -  <?php } ?>
    -  <?php wp_list_pages(‘title_li=<h2>Pages</h2>’ ); ?>
    - <?php endif; ?>
    -  <?php } ?>
 *  </div>
 * Please help!!!

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

 *  [cori](https://wordpress.org/support/users/cori/)
 * (@cori)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/sidebar-is-below-posts-after-adding-additional-category/#post-361520)
 * Hi;
    It seems like somehow your entrytext <div> for the post “Check our Spring
   Break Pictures” (post id 27) has wrapped the sidebar content within itself. Probably
   some improperly nested html tags somewhere in there. By way of confirmation, 
   take a look at the footer in the single-post view of that post [http://24.123.127.180/?
   p=27] and compare it to the same view for the previous and next posts.
 * Even though it looks as though everything should be closed properly, you have
   a bunch of empty divs in that post – maybe one of those is screwing with your
   layout.
 *  Thread Starter [teknicks](https://wordpress.org/support/users/teknicks/)
 * (@teknicks)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/sidebar-is-below-posts-after-adding-additional-category/#post-361683)
 * cori, thanks for your help… i am still not able to fix this issue, I checked 
   and every
    -  and
 *  -  item has a proper closing tag, are you saying my footer.php is the one messing
      things up?
 *  Thread Starter [teknicks](https://wordpress.org/support/users/teknicks/)
 * (@teknicks)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/sidebar-is-below-posts-after-adding-additional-category/#post-361684)
 * wierdness… i deleted that post number 27, and the problem went away??? How did
   that happen?
 *  [cori](https://wordpress.org/support/users/cori/)
 * (@cori)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/sidebar-is-below-posts-after-adding-additional-category/#post-361715)
 * My guess is that somehow the empty divs in post #27 was causing trouble, even
   though they appeared to be closed properly.
 * You could try adding that content back in and making sure that there aren’t any
   empty elements and see what it looks like….

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

The topic ‘sidebar is below posts after adding additional category’ is closed to
new replies.

## Tags

 * [below](https://wordpress.org/support/topic-tag/below/)
 * [Misplaced](https://wordpress.org/support/topic-tag/misplaced/)
 * [moved](https://wordpress.org/support/topic-tag/moved/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [cori](https://wordpress.org/support/users/cori/)
 * Last activity: [20 years, 1 month ago](https://wordpress.org/support/topic/sidebar-is-below-posts-after-adding-additional-category/#post-361715)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
