Skip to content

Instantly share code, notes, and snippets.

@rickrduncan
Created July 20, 2013 11:44
Show Gist options
  • Save rickrduncan/6044748 to your computer and use it in GitHub Desktop.
Save rickrduncan/6044748 to your computer and use it in GitHub Desktop.
<?php
//-> Do NOT include the opening php tag
// Custom admin dashboard header logo
add_action('admin_head', 'rvam_custom_admin_logo');
function rvam_custom_admin_logo() {
echo '<style type="text/css">#icon-index { background-image: url('.get_stylesheet_directory_uri().'/images/logo-dashboard.png) !important; background-position: 0 0;}</style>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment