• I have my site set up to utilize popup comments and they work fine. However, when you click a permalink (as in the archive list or thru a trackback, etc.), the post is pulled up with the embedded comments instead of the comments total with a link that pulls up the pop up comments. How do I fix this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter myke115

    (@myke115)

    No ideas? Anybody?

    Alls I want is to use popup comments and have it all uniform instead of the regular comments showing up when pulling up a single post via a permalink.

    You could yank the line
    <?php include(ABSPATH . 'wp-comments.php'); ?>
    out of your index (assuming you’re using 1.2.2).

    I think that would do it.

    Thread Starter myke115

    (@myke115)

    actually … that almost worked. when i took it out, the permalink didn’t bring up the embedded comments but it didn’t have a link to the pop-up comments that were relative to the post either … i tried replacing the wp-comments.php in the line above with wp-comments-popup.php but it gave me an error.

    I have exactly the same problem. It would be great if someone could come up with a solution to the problem.

    I’ll be doing a google search after this to find the solution, so I’ll be back.

    Why don’t the developers of Word Press read this forum. Myke115’s post has been up for over a week and no one has given him a decent answer.

    Ok i’ve found a solution for this problem. the soultion was actually right here in this very forum, so i take back what i said about wordpress developers.

    Look for the following line in your index.php

    <?php comments_popup_link(__(‘Comments (0)’), __(‘Comments (1)’), __(‘Comments (%)’)); ?>

    Just before this line add this one.

    <?php $single=false; ?>

    So it looks like this.

    <?php $single=false; ?>
    <?php comments_popup_link(__(‘Comments (0)’), __(‘Comments (1)’), __(‘Comments (%)’)); ?>

    Adding this line will not stuff up ‘the loop’ because the loop only runs once on the permalink page, it doesnt stuff up the main page as single already equals false.

    I checked the code and it runs perfectly.

    I have this same problem, but I am using 1.5.1.3 and when I try to insert the link to popup comments, the page gets messed up. This solution does not work. What do I include on my Post Template?

    @ ChrisFryer

    <?php $single=false; ?> does not work,

    but <?php $wp_query->is_single=false; ?> works fine

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘permalinks & popup comments’ is closed to new replies.