Advertisement
Guest User

Patrick

a guest
May 23rd, 2010
1,033
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement