Restrict content in posts and pages with this plugin and display only when a user leaves comment.
This plugin hide content in posts and pages and display only when a user leaves comment. If page/post dont have a comment from user or its got deleated by admin, content will be not displayed.
This plugin uses cookie for that so this plugin will work when user allow website to set cookie.
Restrict it provides you a shortcode [wpgrestrict][/wpgrestrict], wrap your content with this shortcode and you are done.
In next version, I am going to to add restrict content by logged in user. Please let me know if you need any other way to restrict content.