site closed unless logged in conditional
-
Hi folks,
I’m trying to add a conditional (if(is_user_logged_in() == FALSE) {}) which will show a closed template file instead of loading the rest of the site but having problems.
If I add the conditional at the beginning of the header.php file it briefly appears to load the closed page before loading the site as normal.
Does anybody know how I should be going about it?
Cheers,
Robert
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘site closed unless logged in conditional’ is closed to new replies.