This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
1. Create a page called "Coming Soon" with the slug "coming-soon". | |
If you use something different, be sure to update the code below. | |
2. Copy just one of the blocks of code below to a custom plugin or your active theme's functions.php. | |
*/ | |
//redirect non-users to the coming soon page | |
function coming_soon_redirect() | |
{ |
NewerOlder