I would like to create the following functionality: A Wordpress website should be available ONLY to logged in users.
- If user is not logged in, he must be redirected to a custom page (currently created as a page-template)
- When user logs in, he will be redirected to the homepage
- No page or post should be available to logged out users
Worth to mention: I am using Wordpress social login for users to login, not standard WordPress login