Comments visible only for members?
Hello,
I am using the Plug-in ""Member Access" to turn visibility for each page for "members only" or "for everyone" on and off. Right now I am looking for a solution to turn comments visibility "for members only" or "for everyone" for each separate page. Is there a plug in for Word Press to do that easily? cu Superhero360 |
If you are a litlle bit familiar with PHP you can have these blocks of code to block the comments displays for non logged users. Open the comments.php file or whatever file assumes that role.
You can add this line of code at the top of that PHP file: <?php if (is_user_logged_in()): ?> Then add the line below at the very end of the file. <?php endif; ?> |
Hello, thanks for advice.
I am using the Plug-in ""Member Access" to turn visibility for each page for "members only" or "for everyone" on and off. |
All times are GMT -6. The time now is 11:54 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.