Restrict Access to Logged-In Users Page Template
This could be done in a number of ways. Please refer to the codex for further info on template hierarchy, the wordpress loop and the ‘get_template_part()’ function. The page.php is for dispalying every page. You should copy and rename it to page-restricted.php. From the original page.php, remove this part – /* Template Name: Restrict Access*/. … Read more