Change WordPress user roles and capabilities Forums How to or FAQ hide frontend post unless specific roll Reply To: hide frontend post unless specific roll

#5663
Vladimir
Keymaster

Excuse for a delay with answer – I had a 2 weeks vacation.

You need to open post you wish to protect and select a role(s) to which you allow view it. Then select action for all visitors who does not have that role.
Post is excluded from all WordPress listings in case “Return HTTP 404 error” action is selected.
Did you try this option?