labrealandcattle
Forum Replies Created
-
I think I have it… I’m extending Access Levels.
My first level is sync’d to subscribers who can only see restricted content, a “subscribers” page.
My second level is sync’d to a custom role, “beta”. They have unrestricted access with exceptions to a CPT, “alpha products”.
My last level is sync’d to a custom role, “alpha”. The access role extends the “beta” level and includes access to the CPT, “alpha products”.
This seems to leave pages not explicitly restricted in the levels available to logged out users, e.g. an About Page and the Homepage.
NOTE: the menus control doesn’t seem to really work here very well. So I’m also using this plugin to manage that. https://ww.wp.xz.cn/plugins/user-menus/
The two activated don’t seem to be causing a conflict. I’m using it mostly to control login/logout buttons for the users. Seems to be working.
I’m trying to do something similar. I’ve been experimenting with a “logged-out” access role, but I’m encountering an issue of too many redirects when they try to access a page without being logged in.
Thank you @simon_a6
I really like Code Atlanic’s User Menu plugin, but I’m in a crunch. The hat tip is much appreciated 🙂
I’m having this same problem too.
My logic is to set the condition to apply to everything my various users can’t see. e.g.
Users with the role “level1” can’t see anything but selected pages.
General: “Logged In Users”; [“level1” selected]
Protection: Redirect; Custom URL [“Level 1 Homepage”]
Content: “Is Not: A Selected Page”; [selected pages, e.g. “Level 1 Homepage”]Users with the role “level2” can’t see specific pages, e.g. the Level 1 Homepage.
General: “Logged In Users”; [“level2” selected]
Protection: Redirect; Custom URL
Content: “Is: A Selected Page”; [selected pages, e.g. “Level 1 Homepage”]These aren’t working at all :/ I would love them too!