wordpress如何添加favcion图标

可以参考官方:https://codex.wordpress.org/Creating_a_Favicon

Follow the below steps to set favicon in your site.

  1. Prepare image file. It must be square, and at least 512 pixels wide and tall. (准备一张正方形且不小于512*512像素图片)
  2. Go to Administration Screen > Appearance > Customize(登陆网站后台-外观-自定义)
  3. Click Site Identify
  4. Click Select Image at Site Icon section, upload the image file you prepared in the above step from Upload Files tab screen, and click Select. (选择上传图片就好了)

一直用的英文版,不知道site identify 这个选项怎么翻译,英文就不翻译了。

还有一种简单的方法,就是直接把favicon图标直接上传到网站根目录下。要保证图标名字是: favicon.ico

You may also like...