Beskrivning
Makes your wordpress blog private unless the user is logged in, optionally setting a minium user level. Modified from https://wordpress.org/extend/plugins/force-user-login/
Installation
- Upload
force-login-multisite.phpto the/wp-content/plugins/directory - Activate the plugin through the ’Plugins’ menu in WordPress
- Enable the minium user level required to view content on the settings menu
- This is set per site for a WordPress multisite set up.
Vanliga frågor
-
Can I change where the user is redirected after logging in?
-
Yes! A variable called $redirect_to (line 33) is currently set to redirect the user to the page they were trying to access. If you changed that line from
$redirect_to = $_SERVER['REQUEST_URI'];to
$redirect_to = '/';it would redirect the user to the home page.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Force User Login Multisite” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Force User Login Multisite” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.