How to close comments on old topics to unregistered users?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to close comments on old topics to unregistered users?’ is closed to new replies.
Home / Fixing WordPress / How to close comments on old topics to unregistered users?
By default that is not possible. However you can:
Automatically close comments on articles older than [X] days
see https://wordpress.org/support/article/settings-discussion-screen/#other-comment-settings
(@notpoppy)
2 years, 12 months ago
WordPress core functionality offers these two options (in /wp-admin/options-discussion.php):
Users must be registered and logged in to comment
Automatically close comments on posts older than X days
Is there any way – either within WordPress or using a plugin – to combine the two? E.g., have an option which states:
Users must be registered and logged in to comment on posts older than X days
I want to continue allowing unregistered users to comment on recent posts, but not on older ones unless they are registered, to deter spammers.