/ Published in: PHP
URL: http://desizntech.info/2011/02/wordpress-hacks-for-members-only-website/
Expand |
Embed | Plain Text
<?php if ( is_user_logged_in() ) { ?> // Content for Logged in user <?php } else {?> // Content for everyone else <?php }?>
You need to login to post a comment.
