Support » Fixing WordPress » comments page not showing post

  • My blog:
    Wordpress Version: 2.2

    Ok, I tried searching but didn’t find anything related so posting it here. When I click comments link under any post on my blog, it takes me to a comments page that only has comments and no post. I want to change it to show the post followed by comments. Pretty much like you view posts using its permalink, but perhaps jumping directly to comments section. Does that make any sense?

    Any ideas how to achieve that?

Viewing 5 replies - 1 through 5 (of 5 total)
  • There is something wrong with your settings. You have this in your source code:
    <a href="" onclick="wpopen(this.href); return false" title="Comment on Cost effective marketing">4 Comments »</a>

    Is your blog set to open the popup comments? (check it in the header)
    Is your theme compatible with WP 2.2?
    What is the code line calling the the comments in the index.php file?

    moshu, thanks for replying.

    The comments_popup_script() funtion in the header is commented right now. Previously I had setup my blog to open comments in a popup window, but recently I disabled it. Since then comments open this way.

    The code for comments in index page is as follows:

    <div class="post-footer"><?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »','','<span>Comments Off</span>'); ?></div>
    				<?php comments_template(); // Get wp-comments.php template ?>

    I have an idea that something is wrong here, and it really should be calling the post permalink, but I don’t know how to change it accordingly.

    Thanks for the help.

    I don’t think you disabled the popup comment.
    The code in your index is fine – leave it like that.

    Do you have a comments.php template file in your theme folder?

    Just out of curiousity: what happens if you switch to the classic or default theme.

    ok… i commented the php code using <!-- and --> tag instead of //

    Issue resolved. Thanks a million.

    What did you change? I’m having the same problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘comments page not showing post’ is closed to new replies.