How to insert logo in your wordpress blog?
Quite often you might want to insert your custom logo to your wordpress blog. By default wordpress shows the blog name in place of logo in your blog.
here is how to do it..
1. Go to theme folder /wordpress/wp-content/themes/YourTheme/
2. Upload your logo inside images folder of your current wordpress theme.
2. Download header.php using FTP and edit it.
Look for this this line on top of the page
<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
and replace it with
<img src="<?php bloginfo('template_url'); ?>/images/logo.png">
Note: If you have wordpress theme with background, you might want to save your logo with transparancy in PNG format, as otherwise the logo will cast out a shadow background and it wont look good. You will need to use wp-pngfix plugin to fix transparancy issues with IE and older browsers
Similar Posts:
- Fix PNG transparency problem for IE6 in Wordpress
- How to post source code in Wordpress posts?
- how to install wordpress theme?
- 10 Best FREE Wordpress THEMES You Never Want to MISS!
- How to get parent category name in Wordpress?
- 3 Must Do Things for Wordpress Blog Starters
- Affiliate Hide v1.0 – Free Wordpress plugin to Hide & Redirect Affiliate Links
- How to manually upgrade wordpress from older versions
- Free Markup BBCode Editor in Javascript
- Free Markup TextArea HTML Editor in Javascript


February 18, 2009
wow, thanks a lot. i am excited to put logo on my blog.. your post is really helpful. Nice folk.
August 10, 2009
I tried this and I got a ? in a box where my logo should be. I saved it as logo.png. Any suggestions? I’m desperate to figure out how to get my logo on my site. thanks.
January 17, 2010
Thanks mate…
i did this actually, and worked
<a href="/”><img src="/images/logo.png”>
January 18, 2010
That / will only work if you upload on the main wordpress path under images folder. If you upload your logo under template > images filder, you will need to get the path from php.