WordPress Tutorial on how to add a logo for your site

how-to-add-logo-in-wordpressOne of the best practices in modify your blogs if you’re using wordpress layouts is by using wordpress plugins, but what if your wordpress blogs needs to have a customized logo and this time wordpress plugins is not required. What will you do? So, here a simple things for you to learn on how you can add your logo on your website.

Step 1: Login to wordpress admin panel.


Step 2: Under the Appearance section click on Editor.

Step 3: The header.php file controls the logo section of a wordpress site. So open the header.php file for edit.

Step 4: Find out the section <div id=”header”> within header.php. Within <div section, id=”header”> you will see a line something similar.

<h1><a href=”<?php echo get_option(‘home’); ?>”><?php bloginfo(‘name’); ?></a></h1>

Step 5: Delete the part


<?php bloginfo(‘name’); ?>


from above line. If you want to know what does <?php bloginfo(‘name’); ?> mean then please have a look at temaplate tags from Introducing wordpress theme.


And replace the deleted part with this line:

<img src=”the url to image” alt=”site logo” />

If your image name is logo.jpg and you keep it under images folder then it should look like,

<h1><a href=”<?php echo get_option(‘home’); ?>”>
<img src=”images/logo.jpg” alt=”site logo” />
</a></h1>



Step 6: Update the file and check load the url of your wordpress home page to see how it looks. You can use image height, width property to resize your logo but it is always better first resize by photoshop/gimp and then use it as logo.



1 Response to “WordPress Tutorial on how to add a logo for your site”


  1. 1 Marni Fithen

    Almost everyone that makesmoney on the internet (even the millionaires) do so through affiliate marketing. Being successful in affiliate marketing involves applying the formula that makes other affiliate marketers successful. For example, autoblogging. Autoblogging is one of the least well-known forms of making money on the internet for quite some time… basically because it’s quite difficult to make a good auto-blog. Yet, when done right, it can provide you with a lifetime of passive income with the only real work required being the setting up process. Video Marketing, and several other marketing strategies are all designed to drive traffic to your site, can be incorporated gradually in order to raise the position your site appears in the SERPs when any one searches for a term related to your site. And yet, even this can be totally automated.

Leave a Reply