Estou tentando rodar o tema Wcute no Wordpress localmente (uso o Xampp para emular) só que tá dando o seguinte erro: Parse error: syntax error, unexpected T_ENDWHILE in C:\xampp\htdocs\wordpress\wp-content\themes\Wcute\index.php on line 32
Já tentei de tudo mas não consegui achar o problema, alguém pode me ajudar?
Segue o código:
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : ?>
<?php $i=0; while (have_posts()) : the_post(); $i++; ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="post-top">
<div class="post-title">
<h2>" rel="bookmark" title="Permanent Link to <?php if ( function_exists('the_title_attribute')) the_title_attribute(); else the_title(); ?>"><?php the_title(); ?></h2>
<h3>
<span class="post_author">Posted by <b><?php the_author() ?></b></span> | <span class="post_cat">Posted in <b><?php the_category(', ') ?></b></span> | <span class="post_date">Posted on <?php the_time('d-m-Y') ?></span>
</h3>
</div>
<h4><?php comments_number('0', '1', '%'); ?></h4>
</div>
<div class="entry">
<?php if($i==1 || $i==2) : ?>
<?php theme_google_468_ads_show(); ?>
<? endif; ?>
<?php the_content('',FALSE,''); ?>
</div>
<div class="postmetadata">
<p>">Continue Reading</p>
</div>
</div>
<?php endwhile; ?>
<div class="entry">
<?php theme_google_468_ads_show(); ?>
</div>
<div class="navigation">
<?php if(!function_exists('wp_pagenavi')) : ?>
<div class="alignleft"><?php next_posts_link('Previous') ?></div>
<div class="alignright"><?php previous_posts_link('Next') ?></div>
<?php else : wp_pagenavi(); endif; ?>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div>
<?php get_footer(); ?>