Access is a WordPress plugin that lets you add custom roles and control their privileges.
Access User Guides include detailed documentation for controlling what actions different roles and users can do on content and what WordPress admin screens users can access.
When you ask for help or report issues, make sure to tell us the versions of the Toolset plugins that you have installed and activated.
Viewing 8 topics - 1,261 through 1,268 (of 1,268 total)
Problem: I would like to show two different links depending on whether or not the current User has access to the link destinations.
Solution: Inline content access control can be accomplished with either Access Control shortcodes or conditional HTML. If your access conditions are defined by User Role, then you can use toolset_access shortcodes to display link A to certain roles, and display link B to other roles:
Problem:
When adding toolset Access in a paragraph it appears that an extra paragraph is added along with the trailing line that doesn't have any html output at all.
<p>You can customise the code below [toolset_access role="Supplier" operator="deny"]by replacing the address in bold with a direct link to your listing (e.g https://yoursite.co.uk/wedding-supplier/your-business-name/) or [/toolset_access]by adjusting the width to fit the layout of your website.</p>
Solution:
Add the Access code with the "raw" attribute.
You should be able to check that when you insert the Access ShortCode.
When Raw is true, then you will not have any additional HTML around the Access ShortCode.
If it's false, then the Access ShortCode will come along wrapped in a