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.
Problem: I have applied Access Controls to User Field Groups, but the restrictions do not seem to be applied in front-end User Forms.
Solution: Access Control for User fields only applies in wp-admin. If you'd like to restrict access to specific content based on User roles, you can use Access Control shortcodes.
So to display different Forms to different User roles, you could do something like this:
You could do something similar directly inside the Form to show or hide input fields if you prefer to use one Form. You must use Expert Mode to edit the Form shortcodes. This example only shows these two fields to users in the role "role1":
Problem: I'm having problems where I cannot add new custom fields in Types, and I cannot adjust Access Control settings in wp-admin.
Solution: Update to the latest version of Access to solve the checkboxes and scrolling issues. Increase your server's max_input_vars setting to resolve the problem where new fields cannot be added.