Displays a Coming Soon page to visitors while allowing logged-in users or anyone with a secret preview link to view the site.
This function hides all WordPress content from users who are not logged in. Visitors will see a custom message instead of any pages or posts, except for the login page.