How to block access to blog-page for users not logged in?
My blogpage [is_home()] is located at /blog. My static page [is_frontpage()] is not the blogpage and located to /about-us. For users not logged in, the startpage is the static page. For users logged in, the startpage is the blogpage. So far so good. But I want to restrict not logged-in users from the content of … Read more