- This topic has 3 replies, 3 voices, and was last updated 8 years, 5 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Our company is wanting to make a section of our website viewable only to staff members. We use the AgentPress theme, so I'm curious to know if anyone has had any experience in doing this and if so, what recommendations might you have.
I have read lots of different suggestions from plugins, to just creating pages that are password-protected.
Ideally, we'd like it to be that once a staff member logs-in, certain pages and content is now viewable to them, whereas to the general public, it would not even appear.
Thanks in advance for any suggestions & tips!
If thats the only functionality you need, most of the membership plugins would be overkill. Perhaps WP-Members is what you need? Simple plugin that just gives you the option of password protecting each page from the page edit screen.
I love helping creative entrepreneurs build epic things with WP & Genesis.
Thanks for the suggestion! We'd really like a method that does not even make aware to the normal viewer that the "private" content exists and is actually only made visible once the password is entered or user logs-in. I know that can basically be done with the password-protected option within WordPress, but I was hoping for a more elegant method.
I'll take a look at that plugin suggestion to see if this might be a good solution. Thanks again!
In my opinion, a full membership plugin may be overkill in this scenario. A few conditionals, redirects, and even updated menus (add/remove links when needed) should do the trick. You can create a new role with custom capability for the users (i.e. "Staff" who can "view_staff_content") and then run a
current_user_can( 'view_staff_content' ) check. This will involve a bit of code but will be a leaner situation. Just something else to consider.
© 2023 WPEngine, Inc.