/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<?php
if ( is_user_logged_in() ) :
echo 'some stuff for registrants!';
else :
echo 'some stuff for people not logged in.';
endif;
?>
URL: http://wordpress.org/support/topic/members-only-page
Comments
 Subscribe to comments
                    Subscribe to comments
                
                