Thank you for your reply.
I read the following page: How to Fix Missing Entries Caused by Google Quota Limits
That means there’s always the possibility that I’ll miss entries caused by Google Quota Limits when I’m using the free version?
> ログインボタンをサイドバーウィジェットに表示し、ログイン後は元いたページに戻る仕様にしたく思っています。
これはどうやって実装したのでしょうか?
以下のコードで実装しておりました。
function psd_fb_login() {
$current_url = $_SERVER["REQUEST_URI"];
if (is_user_logged_in()){
return '';
}
if(strpos($current_url,'forums') !== false){
if( function_exists('gianism_login') ){
gianism_login();
}
}
}
add_shortcode('psd_fb_login', 'psd_fb_login');
上記コードの
gianism_login();
の部分を、教えて頂いた
gianism_login( '<div class="gianism_login">', '</div>', home_url( $_SERVER['REQUEST_URI'] ) );
に変更したところ、想定通りの挙動となりました。
ありがとうございました!!