Support » Plugin: WP Ajaxify Comments » Redirect after successful post

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author janjonas


    Could you please send me the JavaScript code you used for the ‘OnAfterUpdateComments’ callback.


    I simply alert the callback to see what works.

    When I load the form page, the ‘OnBeforeSelectElements’ callback is triggered.

    On submit the ‘OnBeforeSubmitComment’ callback is triggered.

    The ‘OnBeforeUpdateComments’ callback and the ‘OnAfterUpdateComments’ callback don’t seem to be triggered at all.

    I can’t use any of those for my purpose, which is:
    Save a new post and redirect after it’s succesfully saved to the db.
    I want to use your plugin’s nice error handling, but still redirect after posting…

    Dave Timmerman

    Plugin Author janjonas


    IMHO, the ‘OnBeforeUpdateComments’ callback could be used to redirect the user to another page. I assume, that there is another (JavaScript) problem, that causes the callbacks not to be called.

    Could you please send me a link to a page where I can reproduce the problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect after successful post’ is closed to new replies.