wp-blog-header.phpに次の修正を加える。 「wp();」の直前に下記のコードを挿入。 > if (is_user_logged_in()){ > } > else { > auth_redirect(); > }; 元情報はこちら