Dear All,
I have creat a favicon.ico, can anyone teach me how to add the code in the PHP file?? do I need to edit every php file or just one file is OK??
<head>
<link rel="shortcut icon" href="favicon.ico" > <---- THIS ONE
<title>My Albums</title>
</head>
Thanks~~~ :-*
If you put it at the root of your site it will be found automatically, you don't need to make any code changes.
To add to what Nibbler said: edit themes/yourtheme/template.html and add the line you're refering to right after the <head>. This may be especially helpfull if you experience issues with IE or if you're on a subdomain...
Joachim
The recommended (http://en.wikipedia.org/wiki/Favicon") way is to write the following in the header part of the template.html file:
<link rel="icon" type="image/png" href="/path/image.png" />
With that syntax you can use any format of icon you want, not only .ico. Besides, if you change your favicon, it will be updated on all the clients that read your page (if you use favicon.ico, the browser will not check for the changes in your favicon, as explained in the link above).