WordPress.org

Ready to get started?Download WordPress

Forums

comments-popup from a page (4 posts)

  1. andy_b
    Member
    Posted 5 years ago #

    I am using a popup window for people to add comments on my blog.
    Everything works fine!

    I have now created stand alone pages in wordpress and included the option to add comments. However when the user clicks "add a comment" the pop up window opens but nothing is displayed.

    Now this is due to the piece of code in the comments-popup.php file:

    <?php
    /* Don't remove these lines. */
    add_filter('comment_text', 'popuplinks');
    while ( have_posts()) : the_post();
    ?>

    I am guessing that being as this popup is being called from a page then wordpress thinks there are no posts so the loop is not being entered!!

    How do i get around this? I know it can be done as i've seen it!

    Any help would be appreciated.
    cheers

  2. andy_b
    Member
    Posted 5 years ago #

    I am thinking this is a question for a moderator or someone with a good knowledge of wordpress. Anyone out there?

  3. andy_b
    Member
    Posted 5 years ago #

    Anyone?

  4. andy_b
    Member
    Posted 4 years ago #

    I have taken some time off and now plan to address this problem again. Any help would be greatly appreciated.

    thanks

Topic Closed

This topic has been closed to new replies.

About this Topic