Skip to content

Instantly share code, notes, and snippets.

@rossteasley
Created July 6, 2012 04:08
Show Gist options
  • Save rossteasley/3058013 to your computer and use it in GitHub Desktop.
Save rossteasley/3058013 to your computer and use it in GitHub Desktop.
WordPress Login Logo swap for Genesis Child Theme. Edit image filename and add to functions.php
function rgt_custom_dashboard_logo(){
echo '<style type="text/css">
h1 a {
background-image:url('.get_stylesheet_directory_uri().'/images/put-your-logo-filename-here.gif) !important;
}
</style>';
}
add_action('login_head', 'rgt_custom_dashboard_logo');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment