Posted By

thesmu on 07/21/11


Tagged

wordpressmembers


Versions (?)

Content for Members only Without Plugin


 / Published in: PHP
 

URL: http://desizntech.info/2011/02/wordpress-hacks-for-members-only-website/

  1. <?php if ( is_user_logged_in() ) { ?>
  2. // Content for Logged in user
  3. <?php } else {?>
  4. // Content for everyone else
  5. <?php }?>

Report this snippet  

You need to login to post a comment.