Before this, we’ve published a tutorial on conditionally remove WordPress comment form in Genesis Framework. One of our readers asked about the possibility to remove or hide the comment form for all non-registered users.
Luckily, WordPress already has the option to limit comment to registered users only. However, if you’re new to WordPress, you might not notice this option. Go to Settings > Discussions and you’ll see an option as shown in the image below.
Simply check the button to only allows registered users to leave comment on your site. Here’s a message that will be displayed to all non-registered users on your site:
There are pros and cons of limiting the comment to only registered users. Doing so is believed to reduce or eliminate spam. However, the number of people leaving a comment on your site might be lowered too since users need to register first, which will be time-consuming.