WordPress.org

Ready to get started?Download WordPress

Forums

sidebar is below posts after adding additional category (5 posts)

  1. teknicks
    Member
    Posted 8 years ago #

    Reference 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>
    • /feed/rss2">
    • <?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 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!!!

  2. cori
    Member
    Posted 8 years ago #

    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.

  3. teknicks
    Member
    Posted 8 years ago #

    cori, thanks for your help... i am still not able to fix this issue, I checked and every

  4. and
      item has a proper closing tag, are you saying my footer.php is the one messing things up?
  • teknicks
    Member
    Posted 8 years ago #

    wierdness... i deleted that post number 27, and the problem went away??? How did that happen?

  • cori
    Member
    Posted 8 years ago #

    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....

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags