dongya2578 2016-06-03 18:32
浏览 61
已采纳

在wordpress的Favicon

I've got a problem with my favicon on wordpress, I didn't even figure it out why because it worked on firefox. But let me review the problem. I used two ways to display the favicon on my website. My first approach was to add the favicon on the head with the link tag in this way:

<link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/images/chick.png">
    <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/images/chick.svg">

and it didn't work.

Then I tried adding it with the site identity with wordpress, so I uploaded a png file through the wordpress dashboard (customize). But it didn't work too, I mean, the weird thing was that I was able to see my favicon, but only when I was on the dashboard page or for example in my 404 page (and each single-post).

I quitted because I was working on other thing of my website (the favicon worked anyway if I browse my site with firefox).

Anyway today I had to switch my domain name for working reason, the website which I'm building is for a client, and now I've realized that I'm able to display my favicon on chrome, but it's the older one of the domain in which I migrate. Does anyone know why it is happening?

my website address is: chickapea.me .

Thank you in advance

  • 写回答

1条回答

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥15 内存管理的一段代码不是很理解
      • ¥20 打开anaconda时卡在Loading applications无法进入界面
      • ¥15 网页超时时间设置失效
      • ¥15 有关绿色信贷毕业论文的问题
      • ¥30 关于#机器人#的问题,如何解决?
      • ¥15 求MATLAB函数ScalarLayerDisplay的代码
      • ¥15 安卓如何自动执行检测到的NFC标签,无需再点确认
      • ¥15 pyHM库mouse模块的ValueError错误
      • ¥15 python opencv 摄像头 传感器
      • ¥30 eMMC&Android&C&Linux