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 15 topics - 481 through 495 (of 517 total)
Problem:
How could I deny access to the whole site for an entire user role or a single user, using Toolset Access?
Solution:
You can control what any user or user role can do in your website under Toolset > Access Control.
There you can manage who can access what post types and do what with them, inclusive front end read and backend edit actions.
If you remove all rights then, of course, the user won't be able to see/use those, but it doesn't control the basic access to the backend of WordPress or generally the access of the website as "one".
The same is valid for Taxonomies, Forms, fields, and other controllable items of Toolset Access.
You cannot completely "ban" users from visiting a site in general but you can, of course, control every single page and post, and hence avoid certain users or roles to even access a single page on your website without being redirected to an error template.
I have my archive layouts and views setup correctly. I was able to view the site the way it should be when I am logged into my wordpress site. However, when I am viewing the site (desktop, mobile, tablet) while not logged into my wordpress site, the view displays nothing.
Solution:
Since those posts are hidden from guests, so they will not be displayed in taxonomy archive page.
You can try these:
Dashboard-> Toolset-> Access control-> Post types
in section "Products", enable "Read" permission for guest user role, and test it again, it works fine.
Problem: I have created a Form to edit a post, and I would like to display the Edit Post Form link to only site admins and to the post author. Other site visitors should not see this link.
Solution: Use a combination of Access Control shortcodes and conditional HTML to handle the conditional display of this link.
[wpv-conditional if="( [wpv-post-author format='meta' meta='id'] eq [wpv-current-user format='meta' info='id'] )"]
Current User is post author. [toolset-edit-post-link layout_slug='program-edit-layout' target='self']Edit %%POST_TITLE%%[/toolset-edit-post-link]
[/wpv-conditional]
[toolset_access role="Administrator" operator="allow"]
[wpv-conditional if="( [wpv-post-author format='meta' meta='id'] ne [wpv-current-user format='meta' info='id'] )"]
Current User is admin but not author: [toolset-edit-post-link layout_slug='program-edit-layout' target='self']Edit %%POST_TITLE%%[/toolset-edit-post-link]
[/wpv-conditional]
[/toolset_access]
Problem: I would like to know how best to conditionally show or hide certain sections of a Form based on User role.
Solution: Access Control shortcodes should work well to hide content conditionally based on User role. Otherwise, conditional HTML can be used. The preferred shortcode now is wpv-conditional instead of wpv-if.