Tell us what you are trying to do?
I want to build Membership Site and there all Sites should be restrict for guests.
except a few pages like:
- login
- register
- thx page for register.
how is the fastest way?
i mean i want to disable all (posts, custom posts, media, archives, woocommerc …) for guests.
and only for the 3 pages above i give access.
So also no Menu, Header and so should not visible ... and if someone klicks to a page he is looged out she should reffered to login page.
You can control this with the Access plugin, although you should note that it only controls the content, and if you need to hide headers etc. as well then you'll need a custom solution for that. Note though that pages that are restricted won't appear in menus.
You'll need to specify what guests landing on these pages should see (screenshot). You might specify a content template where you include a registration or login form, for example.