Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/nicholasmole/check-logged-in/archive/refs/heads/master.zipPlugin checks if user is plugged in
Usage
Once plugin is activated. Each page has a metabox that if checked with redirect anyone not logged into this page.
Options Page
In setting you can change the URL where non-users are redirect to. By default the url is the Home URL
Added Jan 16 '18
Logout whereever Function:
Wrap logout to home_url function to logout Button with class ciuli-logout-anywhere
Remove a login menu Or something else unless logged in Function:
Removes an element if not logged in using the ciuli-menuonlywhenlogged-in class
Warning
May cause redirect overload if you check restrict on the main home page
Releases
5 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.