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
  • WhatsApp
  • Email

Related

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

Leave a Reply Cancel reply

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

Post navigation

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

Currently Trending

  • How to download Specific parts of YouTube videos
  • Windows Vista CD key
  • How to Change the Welcome/Login Screen in Windows XP ?
  • AnimeStar - Blogger Template
  • List Of All 255 Keyboard All Alt Key Codes
  • Automatically add Google Plus (+) to your Post
  • Clean Your Messy Desktop & Organize Your Stuff !
  • From Netbook to Jetbook- Make your notebook super fast
  • MS-DOS and command line overview
  • How to retrieve my Demonoid username

Get Latest post in your Inbox

Random Posts

Set More Than One Firefox Homepage

March 28, 2009 By Ritesh Sanap Leave a Comment

Fix Your Own PC – eBook

July 7, 2008 By Ritesh Sanap Leave a Comment

List Of All 255 Keyboard All Alt Key Codes

February 27, 2009 By Ritesh Sanap Leave a Comment

How to check if Antivirus is working properly or not

June 1, 2010 By Ritesh Sanap 1 Comment

Adsense Removing Site report from New Adsense Interface

October 13, 2010 By Ritesh Sanap Leave a Comment

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

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