On the comment form page if they are not logged in send a 301 redirect to the registration page. (wp-login.php) Pass along a GET variable with the current page and use it in a function like this: Registration Redirect Function. Wrap it in an if statement checking for the GET variable. Then redirect to that url in the variable.
So when they go to comment they are taken straight to the registration form, then once they complete the registration they are taken back to the comment field.
Related Posts:
- How can I test why the comment hook is not working?
- How can I convert anonymous commenters into registered users?
- How to retain comment text on comment form after login/registration?
- How do I convert users who put an email and username for a comment into registered users? [duplicate]
- How to rearrange fields in comment_form()
- How to change “You must be logged in to post a comment.”
- Removing the “Website” Field from Comments and Replies?
- How to add a class to the comment submit button?
- How to wrap submit button of comment form with div
- comments reply script not working
- How to display comment form error messages in the same page
- What should I do to make generated avatars different for anonymous comments?
- How do I set up real anonymous posting in bbpress forums? [closed]
- How to allow the reply link to remain on the comment form after I have reached my 10 nested comment limit?
- Deep customization of the comment form?
- Using filter to add additional fields to comment_form()
- Why are default comments deprecated?
- Comments Reply Form
- Does WordPress Allow Blank/Empty Comment Submissions In WordPress?
- Comment form not showing up without comments
- Programmatically block commenting by restricting view of comment form
- How can comments be submitted when I don’t have a comment box on a page?
- How To Remove The “Click here to cancel reply” Link From The WordPress Comment Form
- Making a Comment on a page without being on that page?
- customize comment form
- Display commenter’s registration date on comments?
- How to save new comment as custom comment type?
- WP comments form (custom) is displaying an extra comment field
- How to modify comments form using comment_form()?
- How to add consent checkbox in comment section
- Publish a message on facebook after having posted a comment
- Edit Comment_Field while using T5 Comment Textarea On Top-Plugin
- Registered but Anonymous comments
- Share comment to twitter after publishing [closed]
- How to add attributes to the comment form tag?
- Auto-fill Custom comment fields
- The comment login form is visible to me but not to the user
- Change order of comment fields
- How to call my custom WordPress Comment form without getting the comments?
- comment_post action hook running on page load instead of after a comment is posted
- Add class to comment form div when comment-reply button is clicked
- blank page after submitting a comment
- Display complete comment section via post ID
- Notification if Comment Author Field is left empty. E.g. change input border colour
- All users/comments suspected as bot? [closed]
- Check if comment was successfully submited
- Ajax submit comments
- Why could my comment_form variable not be working?
- Display avatar with comment form?
- How to make comments private for commentor and post author
- Name of comment field differs on different sites
- comment_notes_before not working
- How to create post comment from different domain
- Get comment id of the individual comments in comment list when modifying comment posted using comment text filter
- How can I embed comments plugin to my own website?
- Custom comment field not showing when logged-in
- Comments on future posts
- get_comment_meta not behaving as expected
- unsetting required fields in the comment reply form
- Returning error upon comment being flagged as spam
- Clicking Comment “Reply” Button only replies to first comment
- Changing the Comment Fields using Filter (without success)
- Cannot Remove Title Reply from Custom Comment Template for Signup Page
- comment just attachment .. reply just text … can I do that?
- Automatically register users with comments
- Custom sort comments with select form
- Edit Comments Fields
- Same comment section on every page
- Update post “A” on comment submition on post “B”
- reply comment below the comment box without reload page
- Comment author profile image
- Force to show all fields in comment forms to the logged-in users
- Comment Form Fields when user logged in
- Author name length character limit?
- Check if comment author has url
- How to make comment reply available only for login members of a certain user roles only?
- How to call out the date of user’s first comment?
- How to pass settings to comment_form() if theme only uses comments_template()?
- edit comments in front end
- Change hyperlink to User Registration page instead of WordPress login page
- WordPress Commenting System User access and Security
- Comments.php is not getting called on main blog page
- Comment section not appearing on posts
- How to change comment-page-1#comment-25 to any string?
- Adding restrictions to open comments
- wp-editor-area textarea disapear on cancel-comment-reply-link click
- Comment form – different title if no comment yet
- WordPress Comments jQuery Doesn’t submit
- Commentform – Hightlight invalid fields instead of prompting towards error page
- Insert comment and still use moderation
- Need an advice about comments
- How to remove website field in comment form?
- add field comment [duplicate]
- How to remove or customize “Comment” in comments form?
- Outputting complete custom comment form
- Merge comments from Facebook with WP comments [closed]
- Why default comment fields don’t show up?
- How to enable truly anonymous posting in bbPress forums? [closed]
- Replace Entire Comment Box with Text
- How to hide and disable URL and email fields from comments?