mancherà qualche marcatore tipo un ";" oppure un apice o cmq un qualsiasi codice di php devi per forza cercarlo tu nei file del tema.
<?php get_header(); ?>
<div id="content">
<?php if ( is_category() ) { ?>
<h2 class="special">
<span>Category</span>
<?php single_cat_title() ?>
</h2>
<?php } elseif ( is_tag() ) { ?>
<h2 class="special">
<span>Tag</span>
<?php single_cat_title() ?>
</h2>
<?php } elseif ( is_day() || is_month() || is_year() ) { ?>
<h2 class="special">
<span>Archive</span>
<?php single_month_title(" ") ?>
</h2>
<?php } else { ?>
<h2><span>recently featured posts</span> <small>we've got <?php $count_posts = wp_count_posts(); echo $count_posts->publish; ?> articles so far</small></h2>
<?php } ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h3>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><span><?php the_title(); ?></span> <small><?php comments_number('0','1','%'); ?></small></h3>
<?php if ( $img = get_post_meta($post->ID, "image", true) ) { ?>
<div class="headline">
">
" alt="" />
<span><?php the_time("M<b\i\g>j</b\i\g>") ?></span>
</div>
<? } else { ?>
<div class="date">
<span><?php the_time("M<b\i\g>j</b\i\g>") ?></span>
</div>
<? } ?>
<div class="text">
<?php the_content('continue reading »'); ?>
</div>
</div>
<?php endwhile;?>
<ul class="nav">
<li class="prev"><?php next_posts_link('Previous Entries') ?>
<li class="next"><?php previous_posts_link('Next Entries »') ?>
</div>
<?php get_sidebar(); ?>
<?php include ('sidebar2.php'); ?>
<?php get_footer(); ?>
questo è il codeice completo io purtroppo l'ho controllato e non sono in grado di stabilire cosa c'è che non va dato che come ho già detto non è semplice xhtml , al massimo posso dire che nella convalida ho torvato questo
line 30 il tag "img" ha una sintassi di chiusura di tipo xml per un elemento vuoto anche se per la versione "html" non corrisponde al linguaggio di xml (html 4.0)
aiuto