Sidebar Errors
-
My sidebar is getting screw up depending how you look at it.
http://peakoilportal.com/crudeoil/
When you click on this link it looks fine. However, if you go to the blog and click on the Crude Awakenings title link all the way at the top you go to a new page and the sidebar gets messed up on that page.
All the chicklets links turn to Rojo links and the powered by WordPress items that are usually at the bottom of the page move to the sidebar directly under the chichlets.
How do I fix this?
This is a copy of the code from my sidebar:
<div id=”sidebar”>
- <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
- <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 } ?>
- <h2>Archives</h2>
<!– Author information is disabled per default. Uncomment and fill in your details if you want to use it.
–>
<?php wp_list_pages(‘title_li=<h2>Pages</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(); ?>- <h2>RSS Feeds</h2>
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/crudeoil.gif” class=”left” alt=”RSS”>
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/energy.gif “class=”left” alt=”XML”>
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/energy1.gif” class=”left” alt=”ATOM”>
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/energy2.gif” class=”left”
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/energy3.gif” class=”left”
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/energy4.gif “class=”left”
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/energy5.gif” class=”left”
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/energy6.gif “class=”left”
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/energy7.gif” class=”left”
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/energy8.gif “class=”left”
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/energy15.gif” class=”left”
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/energy11.gif”class=”left”
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/energy22.gif” class=”left”
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/energy12.jpg” class=”left”
<img src=http://www.peakoilportal.com/crudeoil/wp-content/energy/energy13.gif class=”left”
<img src=”http://www.peakoilportal.com/crudeoil/wp-content/energy/energy14.gif “class=”left”<?php wp_meta(); ?>
<?php } ?>
</div>
- The topic ‘Sidebar Errors’ is closed to new replies.