Spring naar de inhoud
  • Inloggen
  • Registreren
WordPress.org

Nederlands

  • Thema's
  • Plugins
  • Nieuws
  • Ondersteuning
    • Documentatie
    • Forums
  • Over
  • Community
    • Meetups
    • WordCamps
  • Contact
  • WordPress downloaden
WordPress downloaden

Plugins

  • Mijn favorieten
  • Beta-testen
  • Ontwikkelaars

private-content-login-redirect

Door Kumar Abhisek
  • Details
  • Beoordelingen
  • Ontwikkeling
Ondersteuning

Beschrijving

Deze plugin is gesloten sinds 24 juli 2023 en is niet beschikbaar om te downloaden. Reden: Overtreding richtlijnen.

Beoordelingen

Redirect to login but no back redirection

pleclerc 20 september 2017
Redirect to login but no back redirection even we guess the wp-login/ url look like to indicate a future redirection. My page have two level./partenaires/annuaire-partenaires/ I look at the developper code, it's really too simple, can cause many problems.

Exactly what I needed!

Gustavo S. Serra 9 september 2017
Exactly what I needed!

Took me too long to find this simple plugin

frogdogtech 31 januari 2017
This plugin does exactly what it needs to while remaining non-invasive. Utilizes the built in wordpress private page status. Brilliant. Thanks.

Work perfectly!

gtamborero 4 oktober 2016
hidden pages goes to login 😉 You can also get the function inside the plugin and use it your functions.php theme: function private_content_redirect_to_login() { global $wp_query,$wpdb; if (is_404()) { $private = $wpdb->get_row($wp_query->request); $location = wp_login_url($_SERVER["REQUEST_URI"]); if( 'private' == $private->post_status ) { wp_safe_redirect($location); exit; } } } add_action('template_redirect', 'private_content_redirect_to_login', 9);

Works as described

smart.u 3 september 2016
Does it's trick, very helpful, thank you.

Does what it says.

eisgeist 3 september 2016
I've been searching for a little while for a plug-in doing a simple thing -that IMHO should be part of base WordPress capabilities-: redirect a visitor to login page when he/she tries to access a restricted page. To my needs, it simple and effective.
Lees alle 12 beoordelingen

Bijdragers & ontwikkelaars

“Private Content Login Redirect” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers
  • Abhisek

Vertaal “Private Content Login Redirect” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Meta

  • Versie: 1.0.1
  • Laatst bijgewerkt: 7 jaar geleden
  • Actieve installaties: N/A
  • WordPress versie: 3.0 of nieuwer
  • Getest t/m: 4.6.26
  • Taal:
    English (US)
  • Geavanceerde weergave
  • Over
  • Nieuws
  • Hosting
  • Doneren
  • Swag
  • Ondersteuning
  • Ontwikkelaars
  • Raak betrokken
  • Leren
  • Showcase
  • Plugins
  • Thema's
  • Patronen
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Publieke code
WordPress.org
WordPress.org

Nederlands

  • Onze Facebook pagina bezoeken
  • Ons Twitter account bezoeken
  • Bezoek ons Instagram account
  • Bezoek ons LinkedIn account
  • Bezoek ons YouTube kanaal
Code is poëzie.