Add this into your theme’s header.php file, in the right place:
<link rel="shortcut icon" href="http://example.com/favicon.ico" type="image/x-icon" />
Thread Starter
725074
thanks… But you hit the nail right on the head… Where is the right place?
Not finding it by trial and error, right?
… I really don’t see how I could be any clearer.
1. your theme’s header.php file
2. in the <head> section (you knew that already)
What more do you need to know?
Thread Starter
725074
Im a little bit worried about changing the code myself, but I tried. No change at all. I did add my page as a favorite to test it.
Now I hope you will help me with the code:
The original code is:<head profile=”http://gmpg.org/xfn/11″>
<title><?php
// Page or Single Post
if ( is_page() or is_single() ) {
the_title();
// Category Archive
full path for the favicon.ico:
http://www.jesperqvist.dk/JQ/favicon.ico
And the link you provided was:
<link rel=”shortcut icon” href=”http://example.com/favicon.ico” type=”image/x-icon” />
How do they combine for the win?
Well, you obviously have to change the example.com bit to be the link to your favicon instead.
However, I really fail to understand the problem you’re experiencing here. What is so difficult to understand about this? Do you not know HTML at all?
<head profile="http://gmpg.org/xfn/11">
<link rel="shortcut icon" href="http://example.com/favicon.ico" type="image/x-icon" />
<title> ... whatever else ...
What’s so bloody hard about that?
Otto42, Either jesperqvist has trouble understanding some basics about code- not everyone is as familiar with you likely are with code- or there are some language difficulties. In either event, may I suggest that you tone down your responses a bit? “What more do you need to know?” and “What’s so bloody hard about that?” are not helpful responses, and in fact may be hurtful to some people. I know I, for one, would not like to read that in a reply from a moderator. You have a position of responsibility on this forum, and people turn to you for help, not insults. thank you for your consideration.
@jfmclaugh
For one thing, you just ranted at Otto over a month old post. Chill already. For another, the original poster asked a question that has nothing to do with WordPress so he’s lucky to have gotten any help at all. This is a WordPress forum not an HTML forum.