Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function custom_login() { | |
echo '<style type="text/css"> | |
body.login {background: #afafaf ; } | |
.login h1 a { background:url("http://example.com/~/logo.png") 0 0 no-repeat; width:330px; height:130px; } | |
.login h1 a:hover {border: none;} | |
</style>'; | |
} | |
add_action('login_head', 'custom_login'); | |
?> |
Screen shot
Note
Description | ログイン画面のデザインを変更するためのcssを読み込む |
---|---|
WordPress Ver. | 3.3.1 |
Via | – |