“Private” page not visible to user role with “read_private_pages” added
-
I’m trying to create a hidden page that is only visible to logged-in users – using core functionality only.
What I did and what is working:
- Created a “Subscriber” adding the “read_private_pages” capability
- Set the desired page to “Private”
- As expected the page is now throwing a 404 when not logged in, and can be accessed via direct URL as a “Subscriber” (and as “Administrator”).
But:
I’m using a block theme, and the menu item is not visible, no matter whether I’m logged as a “Subscriber” or as an “Administrator”.
Is this a “Navigation Block” bug or am I trying to use “Private” pages for something they were not designed for?
Appreciate any hint on how to achieve this ???
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘“Private” page not visible to user role with “read_private_pages” added’ is closed to new replies.