Hi!
I’ve been struggling with restricting certain content for certain user roles on our website and I hope that you can help me with figuring this out.
As you can see via this link, we want to show the content under ‘Documentation for Partners’ (all the way at the bottom of the page; one of the tabs) only to a certain user role group. In this case, we would like to only show the content to ‘Contributors’ and every other user role with less restrictions.
What I want to do now is add an accordion element under this tab, which can only be viewed by contributors and all user roles with less restrictions. So, it should be INVISIBLE to people that are logged out AND to subscribers (more restricted user role).
I was hoping there is a way to do this via extra classes, so that the solution is applicable to specific sections in the entire website. Screenshot is attached for extra clarity!
Thanks a lot!!
Attachments:
You must be
logged in to view attached files.