February 14th in Wordpress by pbu .

How to insert logo in your wordpress blog?

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:

Share and Enjoy:
  • del.icio.us
  • digg
  • StumbleUpon
  • Technorati
  • DZone
  • Facebook
  • FriendFeed
  • Reddit
  • RSS
  • Twitter

4 Comments

  • MClogoID
    February 18, 2009
  • Amy
    August 10, 2009
  • kesok
    January 17, 2010
  • pbu
    January 18, 2010

Leave A Comment.