If Is Logged In

Wrap this around anything that you want only logged in people to see.

   <? if ( is_user_logged_in() ) {  // 1233PM ?>

     <? wp_redirect( 'http://www.example.com'); exit; ?>

   <?php } // 1233PM end if user is not logged in ?>
Comments