WordPress.org

Ready to get started?Download WordPress

Forums

MSMC - Redirect After Comment
feature request (6 posts)

  1. Ovidiu
    Member
    Posted 3 years ago #

    I have a special need:

    I am showing only one post on my home page and the comments are hidden by javascript. as soon as one clicks the: view comments button the comments slide in (using the default comments template) - now if one comments, after submitting one is sent to the singular view of the article on commented on.

    I'd very much like to keep the visitor exactly where he was.....

    so if he was commenting on mydomain.tld/page/3/ then that is where I'd like him to stay, otherwise his browsing experience will be disturbed...

    any change you can implement something like this?

    http://wordpress.org/extend/plugins/msmc-redirect-after-comment/

  2. Josh Sommers
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Ovidiu,

    I just got your email :) Can you send me a link to your site? It will help me better understand your question. It sounds like a fairly simple addon though.

    Aloha,
    Josh

  3. Ovidiu
    Member
    Posted 3 years ago #

    responded by mail, can't post the link here as the site is still under construction but will close this thread and update it with your answer if we can solve this :-)

    thanks!

  4. Josh Sommers
    Member
    Plugin Author

    Posted 3 years ago #

    Feature has been added. Simply enter [last] in the URL field instead of a URL and users should be directed back to whatever page they commented on after commenting. This overrides 'redirect to permalink' settings etc.

    Cheers!

  5. Ovidiu
    Member
    Posted 3 years ago #

    works perfectly!
    Thanks man, that was awesome work :-)

  6. Ovidiu
    Member
    Posted 2 years ago #

    hey Josh,

    I've got another feature suggestion if it can be done:

    how about having the option do to different redirect for some comment forms?

    i.e. I post about a contest and want commenters who comment on that post to be redirected to another place?

    how about your plugin first looks if a custom field with a certain name exists on that post lets say msmc and if it does redirects comments on that post to the URL specified in the custom field, if it doesn't it redirects to the global setting specified in your plugin's options?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic