Add custom WP dashboard logo

PHOTO EMBED

Thu Jul 22 2021 21:24:54 GMT+0000 (UTC)

Saved by @Alz #php #wordpress

// Add custom dashboard logo
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').'/img/logo.jpg) !important; }
</style>
';
}
content_copyCOPY