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 - 121 through 135 (of 335 total)
Problem: I would like to incorporate conditionals based on User roles, along with other factors like custom field values.
Solution: For simplicity, it's best to use Access Control shortcodes first to separate Users by role. Then within those Access Control shortcodes, implement your various other conditional to determine what content should be shown. This will lead to some duplication of code, but in exchange the code is more manageable.