Home›Topic Tag: Controlling access to front-end content
Topic Tag: Controlling access to front-end content
Access plugin allows you to limit front-end read access to specific pages, posts or custom types and define who will be able to access that content. It also provides the functionality to set access control for specific blocks inside page content, in order to place texts that are visible to or hidden from certain user types.
When you ask for help or report issues, make sure to tell us on which content and user types you are trying to apply access control.
Viewing 15 topics - 271 through 285 (of 336 total)
Problem:
The issue here is that the user wanted to restrict content in a page by single user.
Solution:
You Can do this however it will be done in the opposite way. Now you can add a Post to a post group, Restrict the permissions on the group for a specific role, then you can add your users individually that you want to have permissions to the page itself.
So those who are not on the list wont be able to access the page.
I'm developing a site where a user will have a login (based upon their email address) and an a client id (in a custom field - 'client_id'). When they try to view this particular view (or any associated view) I only want them to see posts (they are from custom post type) related to their 'client_id'.
Solution:
If they are standard WordPress custom user field, you can use Views shortcode [wpv-user] to get the field value, for example: