Skip to content

Instantly share code, notes, and snippets.

@whyisjake
Created October 26, 2012 16:28
Show Gist options
  • Save whyisjake/3959749 to your computer and use it in GitHub Desktop.
Save whyisjake/3959749 to your computer and use it in GitHub Desktop.
Simple WordPress Logged In Page
<?php
get_header()
if ( is_user_logged_in() ) {
get_template_part('logged-in-home.php')
} else {
get_template_part('not-logged-in-home.php')
}
get_sidebar();
get_footer();
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment