How to remove content restriction message
-
I am building a website that requires content restriction. It requires restriction of entire pages to only logged in users, and also requires restriction of some content on each page for certain roles.
I have used shortcode to restrict certain content as documentation has provided, for example:[wppb-restrict user_roles=”editor”]
content, content, content
<h4 style=”text-align: center;”></h4>
[/wppb-restrict]
When I test this by logging into a role that shouldn’t be able to view that content, I am seeing the message ‘This content is restricted for your user role.’. I have tried to remove this in Settings > Content Restriction by erasing this default, but when I save the setting it reappears and will not accept it. Is there a way to remove the message?I have been unsuccessful with CSS for all these instances, and would love a way for it to never show. I have tried adding to the shortcode:
[….message=””]
in hopes this would result in no message, but it still displays.
I do not want any users to know there is something they cannot see.
Any assistance with this would be tremendous – thank you!!
** To see site, login with following credential- Removed by moderator
If you scroll down a bit you can see the messages appearing where I have restricted some content.
The page I need help with: [log in to see the link]
- Removed by moderator
The topic ‘How to remove content restriction message’ is closed to new replies.