[Resolved] Page.php Problem
I’m currently working on my page.php for my own theme. I want my pages to have comment forms. The problem is that when I add <?php comments_template(); ?> to the page. The results is this (problem). It appears that nothing is wrong but I have a plugin which tells how many comments each entry has. For this particular page there are NO comments but the comment number for my blog is showing up in the page template. This is my page template:<br>
<?php require_once(“/home/intricat/public_html/wp-blog-header.php”);?><?php get_header(); ?>
<div id=”content” class=”narrowcolumn”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<?php the_content(‘<p class=”serif”>Read the rest of this page »</p>’); ?>
<?php comments_template(); ?>
<?php link_pages(‘<p>Pages: ‘, ‘</p>’, ‘number’); ?>
<?php endwhile; endif; ?>
<?php edit_post_link(‘Edit this entry.’, ‘<p>’, ‘</p>’); ?>
<?php get_sidebar(); ?><?php get_footer(); ?><br>
How can I get my page template to stop displaying comment counts from my blog?
- The topic ‘[Resolved] Page.php Problem’ is closed to new replies.