Du vet, den vanligvis på yoursite.com/wp-login.php. Dette er ting du vil sette i det aktive temaets functions.php-fil.
Endre logoen
Er WordPress-logoen som standard, dette endrer filstien til det bildet. Endre filbane og filnavn til dine egne behov.
function custom_login_logo() ( echo 'h1 a ( background: url('.get_bloginfo('template_directory').'/images/logo-login.gif) 50% 50% no-repeat !important; )'; ) add_action('login_head', 'custom_login_logo');
Endre URL
… Hvor du klikker på logoen. Som standard går det til WordPress.org, dette vil endre det til din egen hjemmeside.
function change_wp_login_url() ( return bloginfo('url'); ) add_filter('login_headerurl', 'change_wp_login_url');
Endre tittelen
Det vil si endre tittelattributtet til bildet du nettopp har erstattet. Dette endrer det til navnet på bloggen din i innstillingene.
function change_wp_login_title() ( return get_option('blogname'); ) add_filter('login_headertitle', 'change_wp_login_title');