Wednesday, June 6, 2012

replac wordpress the dashboard logo



function custom_dashboard_logo() {
   echo '#header-logo 
{ background-image: url('.get_bloginfo('template_directory').'/img/dashboardlogo.gif) !important; }';
}
add_action('admin_head', 'custom_dashboard_logo');
 
?> 

No comments:

Post a Comment