/ Published in: PHP

Add this in the functions.php file, in your Wordpress theme.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if(!is_user_logged_in() && $pagenow != 'wp-login.php') { wp_redirect( '/comingsoon.html', 302 ); }
Comments
