Created
June 5, 2019 12:40
-
-
Save erikasarti/fb9be4ab70e97b8f9b2daa2aeb51ddbe to your computer and use it in GitHub Desktop.
Como personalizar a tela de login do WordPress
This file contains 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
// Muda o logotipo e o link na tela de login do painel administrativo | |
function loginpage_custom_link() { | |
return get_bloginfo('url'); | |
} | |
add_filter('login_headerurl','loginpage_custom_link'); | |
function change_title_on_logo() { | |
return 'Voltar para ' . get_bloginfo('name'); | |
} | |
add_filter('login_headertitle', 'change_title_on_logo'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment