Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

How to add our own logo to Dashboard

Normally WordPress Dashboard has a logo of “W” on the top left where your sites title is displayed. if you are running a multi author blog or any similar to that you can add your own logo their to give a good design.

First Make a logo of 30 x 31 px and upload it to your theme’s image directory.

For Example :

/wp-content/themes/twentyten/images

if you are using Twenty Ten as your Theme

then just add the below line of code to your functions.php :

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/custom-logo.gif) !important; }
      </style>
   ';
}

Now in the Above code just change the custom-logo.gif with the name of your logo

Subscribe via Email

Share this:

  • Twitter
  • Facebook
  • Pocket
  • Print
  • Email

Related

March 15, 2011 Ritesh Sanap WordPress Branding, dashboard, Hacks, logo, wordpress hacks

Post navigation

Previous Previous post: How to create a Shortcode
Next Next post: How to change the dashboard footer text

Currently Trending

  • Windows Vista CD key
  • How to download Specific parts of YouTube videos
  • How to Increase Dropbox upload speed
  • How To Make Your Own Windows Media Player Theme
  • How to add Attribution widget in blogger
  • List Of All 255 Keyboard All Alt Key Codes
  • HORIZONTAL AND VERTICAL SPACING
  • How to Change the Welcome/Login Screen in Windows XP ?
  • You might also like this Widget for blogger or Related post widget
  • Free Demonoid Invitation Code

Random Posts

How to find best Web Hosting – WebHostGear

March 15, 2011 By Ritesh Sanap Leave a Comment

How to change the dashboard footer text

March 15, 2011 By Ritesh Sanap Leave a Comment

Lenomag – Premium Blogger Template

May 24, 2009 By Ritesh Sanap 6 Comments

Demonoid Invitation Code Giveaway

January 10, 2015 By Ritesh Sanap Leave a Comment

Make Money Using Twitter !

August 11, 2009 By Ritesh Sanap 6 Comments

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap 5 Comments

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap Leave a Comment

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap Leave a Comment

Simply Pure – WordPress Theme

November 2, 2014 By Ritesh Sanap 2 Comments

Advanced What should we Write about next? – WordPress Plugin

July 28, 2014 By Ritesh Sanap Leave a Comment

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap Leave a Comment

BlueStrap – WordPress Theme

January 1, 2014 By Ritesh Sanap 15 Comments

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap Leave a Comment

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap Leave a Comment

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap 9 Comments

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva – Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2021 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.