Change WordPress user roles and capabilities › Forums › How to or FAQ › Specific Role View Only › Reply To: Specific Role View Only
04/05/2020 at 03:09 #6808
User Content view restrictions add-on.
You need 1st to add restrictions for all pages which should not be viewable by not logged-in users – open page for editing and select for it at least “Any User Role (logged in only)” at the “Content view restrictions” section.
Then you can allow to the selected role to view the selected pages by ID list – via Users->User Role Editor. Or make it directly for the every page – selected at the page editor which roles can view this page.