Entry
-
Hello, I’m working on my first wordpress theme and for some reason my entry is appearing twice. It’s appearing above and below the entries header. Can any1 help?
<?php get_header(); ?> <div id="middlecontainer" class="floatfix"> <div id="content"> <div id="leftcolumn"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="entry"> <?php the_content('Read the rest of this entry »'); ?> </div> <div id="contentHeader"> <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1> </div> <?php the_content('Read More'); ?> <!--<span class="readMore">Continue Reading</span>--> <div id="contentFooter"> <p>Published <?php the_time('M d, Y') ?> - <?php comments_popup_link('No Comments', '1 Comment so far', '% Comments and counting'); ?> </p> </div> <?php endwhile; ?> <?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><!--Left Column Ends--> <?php get_sidebar(); ?> </div> <!-- Content Ends--> </div> <!-- Middle Container Ends --> <?php get_footer(); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Entry’ is closed to new replies.