This support ticket is created 6 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I am wanting to make my Archive pages with limited post info viewable to everyone but the subsequent single post template file un-viewable to unregistered users- showing 2 x register here buttons instead of the content leading to their relevant registration form.
nothing else has been initiated on the site yet, I am just trying to map the whole thing down on paper 1st
Hello. Thank you for contacting the Toolset support.
Well - sorry, but I did not get you well. I understand you want to show/hide some content with specific user role but could you please share a detailed information with text case example that will help me to guide you in the right direction.
PLEASE SEE ATTACHED IMAGE TO CORRELATE WITH FOLLOWING TEXT.
I am creating a Venues and Artists website for registered users to view Registered artists and Registered Venues.
On the Archive page of all the different bands and venues I wish to show only info in the GREEN BOX, when unregistered viewer clicks on item they are directed to a registration form. For Registered Users when they click on item I wish to show only the content in the Red box on the single template file with an option to book VENUE or ARTIST - once a booking and deposit is paid the content in the BLUE BOX is available.
The first option - if you have installed Toolset Access plugin:
- you can use [toolset_access] shortcode.
For example:
[toolset_access role="customer" operator="allow"]
display content for customer role
[/toolset_access]
[toolset_access role="dealer" operator="allow"]
display content for dealer role
[/toolset_access]
[toolset_access role="author" operator="deny"]
This content will not be accessible by author role
[/toolset_access]