Displays either the “Site Admin” link if the user is logged in or “Register” link if the user is not logged in.

Short Code



Requires no attribute.


  • The “Register” link is not offered if the Administration > Settings > General > Membership: ‘Anyone can register’ box is not checked.
  • On WordPressMU, there is no /wp-register.php file, and /wp-login.php?action=register is not a valid registration form. Thus, wp_register function does not show a registration link.