Ever wanted to have a different homepage for logged in users? Wanted to do it without using plugins?Add the following code to your theme’s functions.php file to make it happen…:

Replace $page value with the ID of the pages you want to use.