DaRo_O
Forum Replies Created
Viewing 7 replies - 1 through 7 (of 7 total)
-
Forum: Plugins
In reply to: [Plugin: Jetpack] Export statistics from one account to anothernobody? 🙁
Forum: Hacks
In reply to: Protect child pages with a passwordFirst of all @bcworkz thanks for your answer!
I found a solution that does the trick for the moment:
add_action( 'init', 'myPasswordInit' ); function myPasswordInit() { if(strpos($_SERVER["REQUEST_URI"], 'parent-page') !== false) { // i check if the cookie of the password protected page is there // trigger password protection if(!isset($_COOKIE[ 'wp-postpass_' . COOKIEHASH ])) { //if the password it's not set, i redirect to the parent page wp_redirect( home_url( '/parent-page/' ) ); } } }Not working so good because it get’s sometimes confused with the wp-admin user cookie, but for my pourpouse was more than enough!
I have the same issue, tryied everyting…
Okay, now i see what i’m doing wrong. I dont have the Social Meta feature enabled, so now i can see this options. Thank u so much for the reply 🙂
Oh, by the way, i’ll use All in one SEO too, but i can’t see where to change this image! Can you help me please? Thank u so much 🙂
Thanks! I will check it now, thank u for the usefull help 🙂
Hiya!
Thank you so much for the fast reply, it’s working now, if u give me a e-mail address i can send you the po file in Deutch 🙂
Viewing 7 replies - 1 through 7 (of 7 total)