Any suggestions?
]]>I already changed the Global Site Access and choose ‘Site accessible to logged-in users’ in Ultimate Member > Settings > Access
Still, the home page is accessible.
I even restrict the page Home so only logged-in users can access the page.
Please help.
Why is it not working?
Theme: OceanWP Child
Ultimate Member 2.1.15
Elementor Pro
Working place
which equals to London
. I am (the Admin) create a page about great restaurants in Hong Kong, which I only want to share my Editors who work in Hong Kong. So my plan is to restrict that page from users lake Dave, and everyone else whom Working place
line doesn’t equal to Hong Kong
.Without using a plugin, looking to only do the following:
0) a public page does not check for users.
1) make a page force a user to be logged in (ie. a restricted access page)
2) if a visitor goes to this page, wordpress redirects them to the custom login page
3) allow admin to view any page (if they are logged in)
currently using:
add_filter( ‘login_redirect’, ‘my_login_redirect’, 10, 3 );
and then putting PHP code on pages where it checks the visitor or user type (admin or just regular user).
All my variations in code either do not work, creates a login loop, or does not do all three requirements.
so I have 3 types of pages:
– all public
– Only user or admin
– only admin
this can’t be that hard, but I have not got it correct yet. Does anyone have a page that explains what I should be doing? The WP Core documentation takes me into many different directions… I get a little lost looking at it
thanks!
]]>All I want when I go to that page is to see the page if I am logged in or see the registration form if I am not so that I can either log on or register.
When I go and edit a page there isn’t any mention of ultimate memeber so I can’t restrict it thatt way
Thanks
]]>Please help. (Just a volunteer for this website, I am not ‘techie’ at all, not into coding etc.)
]]>Thank you.
]]>When I use this plugin, I am able to successfully restrict pages to intended groups only when the pages use the default template.
Any page with custom templates or any other built-in template (e.g. blog) do not get restricted. They are accessible to all groups irrespective of the restriction.
Just alternating between the ‘default template’ and ‘blog template’ on a single page can replicate this issue. Any help on this would be appreciated.
Thanks.
]]>I thought of using the wp user platform to create users with less access to specific pages but that will be quite complicated …
thank you
]]>