removing wordpress logo

Hi how do you remove the wordpress logo from the top of the admin bar

  • Dimitris
    • Support Star

    Hey there antony,

    how are doing today?

    You can use a little MU plugin for that, simply create a new file in your server like
    /wp-content/mu-plugins/remove-admin-logo.php (create the /mu-plugins/ folder if doesn't exist) and insert the following php snippet in there:

    <?php
    function remove_admin_bar_logo() {
      global $wp_admin_bar;
      $wp_admin_bar->remove_menu('wp-logo');
    }
    add_action('wp_before_admin_bar_render', 'remove_admin_bar_logo', 0);

    There's also the alternative of Ultimate Branding plugin which gives you the ability to replace the actual WordPress logo with an image of your own.
    https://premium.wpmudev.org/project/ultimate-branding/

    Warm regards,
    Dimitris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.