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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5654
    aptharsia
    Participant

    On the front page/front end, I don’t see how to hide the content restricted post from unless the user is logged in and a specific roll. It shows to all and when clicked on does the 404/redirect option, which I’d rather it just be hidden altogether except by user role.

    #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?

    #5664
    aptharsia
    Participant

    Yes, that was the problem, I wasn’t selecting the 404 option. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.