Comment Heading Keeps Showing Up
-
This is my index.php template… my site uses it for things like tags (site/tags/). Problem is, <h1>Comments</h1> shows up on everything except when it is the main page.
<?php get_header(); ?> <div id="content"> <?php include(TEMPLATEPATH."/l_sidebar.php");?> <div id="contentmiddle"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="contentdate"> <h3><?php the_time('M'); ?></h3> <h4><?php the_time('j'); ?></h4> </div> <div class="contenttitle"> <h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1> <p><?php the_time('F j, Y'); ?> | <?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?></p> </div> <?php the_content(__('Continue reading…'));?> <div class="postspace"> </div> <!-- <?php trackback_rdf(); ?> --> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?><br /> <h1>Comments</h1> <?php comments_template(); // Get wp-comments.php template ?> </div> <?php include(TEMPLATEPATH."/r_sidebar.php");?> </div> <?php get_footer(); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Comment Heading Keeps Showing Up’ is closed to new replies.