Check logged in
Plugin checks if user is plugged in
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
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