Comments go to wrong post
-
Hi everyone,
My wordpress theme is working really fine but there is one problem that i can’t solve even after doing all the required things written here to solve that problem.
Whenever someone comments on my post, that comment goes to the one fix post.
and here is one more interesting thing.Even that fix post gets changed after some days and then the comments get displayed on that post.
Can anybody solve the problem?
I think the problem lies here in comments.php
<!– Begin Comments List –>
<?php if ($comments) : ?>
<h2 id=”comments”><?php comments_number(‘No Comments’, ‘One Comment’, ‘% Comments’ );?> on “<?php the_title(); ?>”</h2>
<ul class=”commentlist”>
<?php foreach ($comments as $comment) : ?>
<?php $comment_type = get_comment_type(); ?>
<?php if($comment_type == ‘comment’) { ?>
<li <?php echo $oddcomment; ?>id=”comment-<?php comment_ID() ?>”>
- The topic ‘Comments go to wrong post’ is closed to new replies.