• Hi,

    I have popup comments on my blog.
    When the user enters a comment an hits submit, i want a customized “thanks for posting” page to appear in the popup window.

    At present after the submit button has been pressed the comments get registered, the popup form remains but clears itself ready for another comment.

    How do i achieve the thanks page?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter andyb2

    (@andyb2)

    Hi,

    So i created a redirect but …

    After comments are sent the user is redirected to a thank you page which looks great. I acheived this by modifying the $location variable in wp-comments-post.php.

    However when i create new posts in the wordpress admin interface i get the following message

    Parse error: syntax error, unexpected ‘<‘ in /home/…/post-thanks.php on line 2

    Any ideas what this means?
    thanks

    Thread Starter andyb2

    (@andyb2)

    ok. nevermind.
    I had erroneously made changes in post.php to redirect to post-thanks.php.

    I guess post.php is called after an admin post

    where wp-comments-post.php is called after a reply to a post

    does that sound right?

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘popup comments thank you’ is closed to new replies.