• I am trying to remove the “Site Admin” link from the footer if the logged in user is only at “User” level, not an administrator.

    If this can not be done, I would like to simply remove it. However, I would like the “Register” link to still show – I know these two functions are connected, but is there a way to do this somehow?

    Any help would be greatly appreciated.

    Thanks!

Viewing 1 replies (of 1 total)
  • This should do the trick, it will only display the links if an administrator is logged in

    <?php if( current_user_can( 'administrator' ){ ?> <!--ADD YOUR LINKS HERE --><?php } ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Remove “Site Admin” footer link.’ is closed to new replies.