Guest User

Patrick

a guest
May 23rd, 2010
981
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php if ( is_user_logged_in() ) : ?>
  2. Content to show to logged-in users
  3. <?php endif; ?>
  4.  
  5. <?php if ( !is_user_logged_in() ) : ?>
  6. Content to show to non-logged-in users
  7. <?php endif; ?>
  8.  
  9. Followed by content to show to all users
RAW Paste Data