• Hello I have the latest version of wordpress and i have a problem with the popup comments page. After a comment is posted, it refreshed the page to display my entire site (or main page of my wordpress). What i want is to display the comments only on that popup comments page. Thanks and i hope somebody would help me.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator James Huff

    (@macmanx)

    URL please…

    Thread Starter sharmaine

    (@sharmaine)

    Thread Starter sharmaine

    (@sharmaine)

    I think i know what seems to be the problem. IN the wp-comments-post.php, the popup page is being refreshed by this command: header(“Location: $location”); however the value of $location is my frontpage (https://deep-reflections.net/blog) instead of https://deep-reflections.net/blog/wp-comments-popup.php is there any way where i can get the current page being loaded and not the frontpage? Thanks

    by the way, what is this command for: $location = get_permalink($comment_post_ID); ? Thanks

    I’m having the same problem and I can’t figure it out!

    Thread Starter sharmaine

    (@sharmaine)

    hello kitchie. what i did is to manually assign my blog path + wp-comments-popup.php to another variable, say $location2 and i replaced $location with $location2. However, this is manually assigning the url (say https://deep-reflections.net/blog/wp-comments-popup.php ) it’s working now but i want to ask the gurus here how can i possibly get the variable that will direct me automatically to wp-comments-popup.php without having to manually assign the whole path. Though my popup comments seems to be working properly now, i still wanna know how to do that without manually assigning the path.

    I do not have much knowledge on PHP, I don’t know what exactly I am going to do. I have a YM: teenspiritsocks

    Thread Starter sharmaine

    (@sharmaine)

    i dont have much knowledge on php too, just tried my luck good thing it works. open your wp-comments-post.php and look for for $location = get_permalink($comment_post_ID); then after that put this: $location2 = ‘<path where your wp-comments-popup.php is>’;

    then look for header(“Refresh: 0;url=$location”); and replace $location with $location 2. Do the same for header(“Location: $location”);

    If you need help, pop me ym: meeh_sharmaine thanks

    hey thanks! You rock, it worked!!

    I’ve tried all of these suggestions singly and in combination, and none of them are working for me. I have the wp-comments-popup.php ready to go and it looks great — until you “Say It.”

    The whole index then crams itself into the popup window, exactly as described by others in this thread. I gave up and turned off the popups until I get it working.

    The wp-comments-post.php currently installed is the default, fresh out of the zipfile I installed from. Everytime I tried one of those options above, I’d get a parse error, so I would just unzip the original file back into place.

    How do you get around this?

    I was having this problem, too. I used the info on this post to fix it: https://www.ads-software.com/support/3/15828

    Works great now.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Comments Popup problem, pls help!’ is closed to new replies.