0
I’m new in wordpress and need a help, my site loads the favicon in almost the browsers without problems. It just doesn’t show up on Chrome, but only on the front end.
When I open the admin, the favicon appears without problems, but on the site it does not appear.
I’ve tried to clear the cache, change the code in every way I found on google but this problem persists.
my header is like this:
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="<?php bloginfo("template_directory");?>/bootstrap-4.0.0/css/bootstrap.min.css">
<!-- Css custom -->
<link rel="stylesheet" type="text/css" href="<?php bloginfo("template_directory");?>/style.css">
<link rel="stylesheet" type="text/css" href="<?php bloginfo("template_directory");?>/style.css">
<link rel="shortcut icon" type="image/png" href="<?php bloginfo("template_directory");?>/fav512.png" />
<title>Setormed</title>
</head>
I tried to change by code and admin panel, but in neither of the two modes I got the right result.
I am since yesterday without solution for this and I need to tidy up as soon as possible.
Thanks for your help.
Face often the browser gets favicon in the cache and is showing wrong in the tab. You have already tried to clear the cache, restart the machine and browser etc to see if it solves?
– hugocsl
I’ve already cleaned the cache and restarted the pc 1000 times. The problem is still.
– thiago costacurta
The strange thing is that in admin panel it works.
– thiago costacurta
I don’t know if this is the case of the theme you used, but in some of them you have the CSS and config page of the Admin template and Other CSS with the config of the main page template on the front. Sometimes you just put Favicon to the ADM page and not in the site template.
– hugocsl