Created
March 31, 2019 15:48
-
-
Save Glinkfr/76f75de7cd52a305617013aa53b15967 to your computer and use it in GitHub Desktop.
Personnaliser le logo de la partie administration
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
#hook pour personnaliser le logo de la partie administration | |
add_action('admin_head', 'my_custom_logo'); | |
function my_custom_logo() { | |
echo '<style type="text/css"> | |
#header-logo { background-image: url('.get_bloginfo('template_directory').'/images/custom-logo.gif) !important; } | |
</style>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment