Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Visitor force login page

Apraksts

Easily hide your WordPress site from public viewing by requiring visitors to log in first. As simple as flipping a switch.

Make your website private until it’s ready to share publicly, or keep it private for members only.

Features

  • WordPress Multisite compatible.
  • Specific page redirects visitors back to the url they tried to visit without login.
  • Extensive Developer API (hooks & filters).
  • Customizable. Set a specific URL to always redirect to on login.
  • Filter exceptions for certain pages or posts.
  • Restrict REST API to authenticated users.
  • Translation Ready & WPML certified.

Ekrānuzņēmumi

  • Settings

Uzstādīšana

Upload the Force Login plugin to your site, then Activate it.

Go to setting page & select menu => select Visitor force page & select a page.

You’re done!

BUJ

1. How can I specify a URL to redirect to on login?

By default, the plugin sends visitors back to the URL they tried to visit. However, you can set a specific URL to always redirect users to by adding the following filter to your functions.php file.

`
/**
* Set the URL to redirect to on login.
*
* @return string URL to redirect to on login. Must be absolute.
*/
1) Go to setting page & select menu => select Visitor force page & select a page.

Requires: WordPress 4.5 or higher

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Visitor force login page” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Visitor force login page&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.0.2

  • Fix some issue with latest wordpress version
  • Tested with latest version

1.0.1

  • Fix some security issue
  • Tested with latest version

1.0

  • just release plugin