国内最全IT社区平台 联系我们 | 收藏本站
华晨云阿里云优惠2
您当前位置:首页 > 互联网 > favicon add in wordpress

favicon add in wordpress

来源:程序员人生   发布时间:2014-10-13 23:34:07 阅读次数:2412次

Added the favicon in the wordpress, it's easy.

1, get your favicon icon, and rename it as favicon.ico

2, upload the favicon.ico to the root folder of your wordpress system.

3, modify the header.php source code in the theme folder you are using, for my system, it is /root_folder/wp-content//themes/twentytwelve/header.php, before the </head> added two lines,

<link rel="icon" href="http://xionghuilin.com/wp/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="http://xionghuilin.com/wp/favicon.ico" type="image/x-icon" />



Done, you can see the result as:


生活不易,码农辛苦
如果您觉得本网站对您的学习有所帮助,可以手机扫描二维码进行捐赠
程序员人生
------分隔线----------------------------
分享到:
------分隔线----------------------------
关闭
程序员人生