Support » Fixing WordPress » How change dashboard logo

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try looking for a dashboard customisation plugin.

    Here’s some code that can go in your theme functions.php

    // THIS ADDS CUSTOM LOGO TO ADMIN DASHBOARD
    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/AdminIcon.png) !important; }
          </style>
       ';
    }

    will do the admin logo

    // THIS TAKES AWAY DEFAULT ADMIN FOOTER TEXT AND USES MY OWN
    function remove_footer_admin () {
        echo "your words go here";
    } 
    
    add_filter('admin_footer_text', 'remove_footer_admin');

    strips some text in the footer and adds what you type

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How change dashboard logo’ is closed to new replies.