Question

I would like to add a logo on my site header. Currently, on Google Chrome, it is a blank white paper. How would I go about doing so? Here is the current HTML I am using for my site header. Any help would be much appreciated.

<title>
<?php if ( is_home() ) { ?> <?php } ?> 
<?php echo ucwords(wp_title('',true)); ?> <?php echo ucwords(get_bloginfo('name'));  ?>  
</title>
Was it helpful?

Solution

this will do, <link href = "images/icon.gif" rel="icon" type="image/gif">

OTHER TIPS

I'm assuming you want to add a favicon. You can't put it in the <title>. This useful tool should help with generating an appropriate icon and give you the correct code to embed it in your site and instructions on where to add it.

you could add the following code in the head section

<head>
    <link rel="shortcut icon" type="image/x-icon" href="/path to your logo">
</head>

you have to change the logo in jpg, jpeg, gif, png into ico. you can use the following link for that purpose link

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top