Tell us what you are trying to do?
I have 2 x custom user roles - client and inspector - I want to allow the inspector role to see buttons to add posts and hide the buttons from clients.
Is there a similar example that we can see?
I have attached the debug info and even though I am logged in as an inspector I do not see the buttons and it appears from the debug info that the current user role is not being detected.
Hello. Thank you for contacting the Toolset support.
That is strange. Can you please share problem URL where you added the conditional block as well as admin access details. Let me review your current setup first.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
As even when I tried to checked with shortcode: Role===[wpv-current-user info="role"], it returns nothing.
Either you should create new role using Toolset Access and assign that role to user and then use that role to check conditionally with conditional block or you should activate ultimate member plugin and see if that works.
My issue is resolved now. Thank you! Issue was due to having installed ultimate member first and using an already existing role when UM was deactivated. Thanks Minesh for your help