Hi oleksiakd95,
The admin may already view all restricted content and created on back-end. Is there a reason for which you also want it on front-end?
The simplest way of doing it would be to create a level access specifically for admin. So for example, level 1 would be Administrator. And add it to all the restricted pages.
Let us know if this solution works out for you.
Best regards,
The simplest way of doing it would be to create a level access specifically for admin. So for example, level 1 would be Administrator. And add it to all the restricted pages.
If I have level 1 as Administrator, and then I have a page that will be level 4 access, how do I give them both access to that page without giving access to levels 2 and 3?
Hi oleksiakd95,
There are many shortcode attributes to the [restricted][/restricted]
shortcode. However, we do not have one that allows to pick multiple levels that at once. A solution would be to coordinate your levels and use the shortcode attributes [maximum_level]
and [minimum_level]
, which allow you to choose which level range will be able to view the restricted content.
Therefore, a solution would be to have the admin at another level, for example, 5. Then you would have as shortcode [restricted minimum_level='4' maximum_level='5']
Here is a link to our documentation. You will be able to find all the shortcodes of the plugin here: http://www.etoilewebdesign.com/plugins/front-end-only-users/documentation-front-end-only-users/
Let us know if you need help in coordinating the levels.
Best regards,
Therefore, a solution would be to have the admin at another level, for example, 5. Then you would have as shortcode [restricted minimum_level=’4′ maximum_level=’5′]
Thank you for your reply, but I’m not sure that would help me with the other levels though. If I had my admin set up the way above, he would only be able to see level 4, but not 2 and 3. I need to be able to have the admin see all the levels on the front end of the site.
Hi Oleksiak,
In that case, you could make that page accessible to levels 2 through 5, like so:
[restricted minimum_level='2' maximum_level='5']