وضاحت
هي پلگ ان 24 جُولاءِ 2023 کان بند ڪيو ويو آهي ۽ ڊائون لوڊ لاءِ دستياب ناهي. سبب: ھدايتن جي ڀڃڪڙي.
جائزا
20 سيپٽمبر 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.
9 سيپٽمبر 2017
Exactly what I needed!
31 جنوري 2017
This plugin does exactly what it needs to while remaining non-invasive. Utilizes the built in wordpress private page status. Brilliant. Thanks.
4 آڪٽوبر 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);
3 سيپٽمبر 2016
Does it's trick, very helpful, thank you.
3 سيپٽمبر 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.
تعاون ڪندڙ & ڊولپرز
“Private Content Login Redirect” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.
تعاون ڪندڙترجمو ڪريو “Private Content Login Redirect” توهان جي ٻولي ۾.
ڊولپمينٽ ۾ دلچسپي؟
ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.