Title: Plugin disregarding roles
Last modified: August 22, 2016

---

# Plugin disregarding roles

 *  Resolved [bingtx](https://wordpress.org/support/users/bingtx/)
 * (@bingtx)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/plugin-disregarding-roles/)
 * The plugin is not paying attention to roles. My short codes hide content to everyone
   even when I have it set to only hide it from a specific role.
    So I took out 
   the hide tags and now it the code shows up no matter who is logged in.
 * `<br><br>[eyesonly level="customer" logged="in"]<span class="red bold single-
   button">Everyday Low Price: $69.99</span><br><br><a href="http://www.aloeproductscenter.
   com/wp-admin/admin-ajax.php?add-to-cart=398" class="button">Buy Now</a>[/eyesonly][
   eyesonly level="reseller" logged="in" ]<span class="red bold">Wholesale: $41.99
   </span><br><br><a href="http://www.aloeproductscenter.com/aloe/wp-admin/admin-
   ajax.php?add-to-cart=404" class="button">Buy Now</a>[/eyesonly]`
 * [https://wordpress.org/plugins/eyes-only-user-access-shortcode/](https://wordpress.org/plugins/eyes-only-user-access-shortcode/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/plugin-disregarding-roles/#post-5669895)
 * That’s because your shortcodes are telling it to show to everyone who is logged
   in. That’s what `logged="in"` means in your shortcode. Remove the `logged="in"`
   part from your shortcodes.
 * Also be aware that as an administrator, with Administrator Override checked in
   the plugin settings, you’ll see everything regardless.

Viewing 1 replies (of 1 total)

The topic ‘Plugin disregarding roles’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/eyes-only-user-access-shortcode_f1f0ef.
   svg)
 * [Eyes Only: User Access Shortcode](https://wordpress.org/plugins/eyes-only-user-access-shortcode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eyes-only-user-access-shortcode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eyes-only-user-access-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/eyes-only-user-access-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eyes-only-user-access-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eyes-only-user-access-shortcode/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [thomstark](https://wordpress.org/support/users/thomstark/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/plugin-disregarding-roles/#post-5669895)
 * Status: resolved