IvanKristianto

Passionately Share and Learn

  • Home
  • WordPress
    • Meetup
    • Learn WordPress
    • Tips & Tricks
    • Useful Plugins
    • Themes
  • Security
  • Web Development
    • Learn PHP
    • Git
    • Web Design
    • Web Server
    • Web Browser
  • Linux
  • About Me
You are here:
  1. Home
  2. WordPress
  3. Add Your Custom Logo To Your WordPress Dashboard

Add Your Custom Logo To Your WordPress Dashboard

February 6, 2011 • Leave a Comment

WordPress dashboard is WordPress backend to manage your blog. As WordPress can easily customize, you can add your custom logo and favicon in your WordPress Dashboard page. This can be done by adding a small code in your themes function.

To add your custom logo into your WordPress dashboard, add this code into your functions.php in your themes folder:

1
2
3
4
5
6
7
8
add_action('admin_head', 'custom_logo');
function custom_logo() {
echo '
<style type="text/css">
#header-logo { background-image: url('.get_bloginfo('template_directory').'/images/custom-logo.gif) !important; }
</style>
';
}

You can do the same to add favicon to your Worpress Dashboard:

1
2
3
4
5
6
add_action('admin_head', 'custom_favicon');
function custom_favicon() {
echo '
<link rel="shortcut icon" href="'.get_bloginfo('template_directory').'/favicon.ico" type="image/x-icon" />
';
}

So now you can customozie your WordPress website. For more tips please follow my twitter @ivankrisdotcom.

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Pocket

Related

Categories: WordPress Tagged With: custom favicon, custom logo, tips, wordpress tips

Give me your feedbackCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Ivan Kristianto

Ivan Kristianto

I am a Senior Web Engineer at Human Made and Google Developer Expert in Web Technology, Lead organiser of Jakarta WordPress Meetup and WordCamp Jakarta Organiser.

View Full Profile →

Copyright © 2025 · minimalist built on Calibrefx Framework · Powered By WordPress ·

Return To Top