Hide sidebar buttons from users
I have made my own buttons for the sidebar which I am displaying with java script in a text box widget.
I am using some code to hide certain buttons from users who are not logged in. This all works fine.
<?php if ( is_user_logged_in() ) : ?> ~Hidden buttons in here~ <?php endif; ?>
I want to add more buttons but I need them to be hidden from subscribers as well.
Any help with this would be greatly appreciated.
- The topic ‘Hide sidebar buttons from users’ is closed to new replies.