The only files I have are:
footer.php
header.php
index.php
searchform.php
and of course style.css.
here is the code of the header.php file but I am not sure if this is causing the problem. Do i need to create a home.php file to get this working?
What I don't understand is why isn't it applying to the home page and it does to the category page ... hmmm..
header.php:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php wp_title(); if (function_exists('is_tag') and is_tag()) { ?>Tag Archive for <?php echo $tag; } if (is_archive()) { ?> archive<?php } elseif (is_search()) { ?> Search for <?php echo $s; } if ( !(is_404()) and (is_search()) or (is_single()) or (is_page()) or (function_exists('is_tag') and is_tag()) or (is_archive()) ) { ?> at <?php } ?> <?php bloginfo('name'); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
<meta name="copyright" content="Copyright <?php wp_title(''); ?>" />
<!--style-->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php wp_head(); ?>
</head>
<body>
<ul id="search"><small>Search</small><?php include (TEMPLATEPATH . '/searchform.php'); ?>
</ul><!--end search-->
<div id="main">
<ul id="nav">
<li <?php if( (is_home()) or (is_single()) or (is_archive()) ) {?>class="current_page_item"<?php } ?>><a href="<?php bloginfo('url'); ?>">HOME</a></li>
<?php wp_list_pages('title_li='); ?>
</ul><!--end navigation-->
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<h2><?php bloginfo('description'); ?></h2>
<ul id="flickr">
<h9><?php get_flickrRSS(); ?></h9>
</ul>
and this is the full index.php file:
<?php get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h3 class="storytitle<?php if (is_category('tweets')) {
echo ' tweets';
} ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
<h4><p><?php _e("Tag:"); ?> <?php the_category(',') ?> — <?php the_author() ?> @ <?php the_time('F j, Y'); ?> at <?php the_time('G:i a'); ?></p></h4>
<?php the_content(__('(more...)')); ?>
<?php comments_template(); // Get wp-comments.php template ?>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<h5><?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?></h5>
<?php get_footer(); ?>