• Resolved bingtx

    (@bingtx)


    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/

Viewing 1 replies (of 1 total)
  • Plugin Author thomstark

    (@thomstark)

    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.