Created
May 10, 2018 21:21
-
-
Save caralgar/0a4fcff9bc9c21a216b5266f3c43f9c3 to your computer and use it in GitHub Desktop.
Cómo cambiar el logotipo de Login en WordPress (II)
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
<?php | |
function calfaro_custom_login_logo() { | |
echo ' | |
<style type="text/css"> | |
.login h1 a { | |
background-image: url(' . get_stylesheet_directory_uri() . '/images/logo-calfaro.png); | |
padding-bottom: 0px; | |
width: 100%; | |
background-size: contain; | |
} | |
</style>'; | |
} | |
add_action( 'login_enqueue_scripts', 'calfaro_custom_login_logo' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment