The correct answers to the above solution-question is by else programming basic: if( current_user_can('administrator')) { <!-- only administrator will see this message --> } else { if( current_user_can('author')) { <!-- only author but no administrator will see this message --> } else { ?> <style type="text/css">#perhapsDIVremovalidentifier{ display:none; </style> } <?php } Brief: The administrator is found, but if we push author the administrator is as well found. So we just let administrator pass through and identify the author only.