網頁ICON

Post image of 網頁ICON
Filed in 學軟體 Learning Software 0 comments

網址前跟分頁上面會出現的小圖示,正確應該是叫做favicon,
在個人網站上加入這個favicon比較簡單,index.html裡加入語法就可以,
我之前找到的語法是這樣:
<link rel="shortcut icon" href="圖片網址">
直接把語法放在主目錄下的index.html裡就可以了。

在Wordpress裡要顯示
favicon的話,爬了幾篇文之後,我的作法是到/wp-content/themes/裡面找到正在用的佈景主題資料夾,進去找到header.php這個檔案,用記事本打開然後把語法加入<head></head>之間,我是直接加在<head>之後,語法如下:

<link rel="Shortcut Icon" type="image/x-icon" href="圖片網址">
圖片尺寸是16X16要轉成.ico的檔案,可以先做成PNG檔再來轉,
也有可以製作favicon的網站,例如:favicon.ico Generator很方便!

Posted by sidonie   @   15 七月 2010 0 comments
Tags : , ,

Share This Post

Use Facebook to leave a comment or like! 用Facebook回應!? 按讚也可以!!

0 Comments

No comments yet. Be the first to leave a comment !
Leave a Comment

Previous Post
«
Next Post
»
OceanWave designed by Cheap WordPress Hosting In conjunction with Wedding Invitations , LED Replacement Bulb , Cloud Hosting.