There are various settings to perform this task:
Below you'll find how to activate these settings for different needs.
- General Setting / Members Only Website
- Web Pages / Display Options / Members-Only Page
- Member Features / Always Show Content
General Setting / Members Only Website
A login will be required to view the page selected.
Please go to: SETTINGS >> GENERAL SETTINGS >> Find "Members Only Website?" >> Set to "Yes" >> "Save Changes".
Web Pages / Display Options / Members-Only Page
Please go to: CONTENT >> EDIT WEB PAGES OR ADD NEW PAGE >> Find the page you want to hide from visitors.
On the right sidebar settings, check the "Members-Only Page" so non-members can not see this page. Finally, click on "Save Web Page".
Member Features / Always Show Content
Please go to: CONTENT >> EDIT POST SETTINGS >> Find the member feature you want to hide from visitors.
On the first tab "General Settings", scroll down until you find: "Members-Only Access" and select one of the options.
Keep Public for All Visitors - This is the default option, it will show the complete content to everyone.
Protect Details Pages and Search Results - This option will not allow members that do not have access to this feature see the results or the details of the post.
Only Protect Detail Pages - This option will show the search results but if they wanted to see the details of the post it will not allow them unless signed in.
For more information, you can view this great resource: