I did everything on the page http://codex.wordpress.org/Creating_a_Favicon
at the last stage when im supposed to overwrite something with
<link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico" />
in my header.php it show like this:
<?php
$favicon = $cleansimplewhite_favicon;
echo '<link rel="shortcut icon" href="';
if ('stylesheet_directory') {
echo "$favicon";
} else {
echo bloginfo('template_directory').'/favicon.ico';
}
echo '" />';
?>
no matter how I edit it, it won't work properly. either the favicon shows but my page is blank or nothing happens.
Can someone edit and paste the exact code I need to replace?
thanks :)
leave the code as is all you need to is change the favicon.ico file in root to yours.
I have overwritten by favicon.ico in my root folder and inside my theme and I have cleared the cache :/
The funny thing is that the favicon shows when Im logged in the admin (wp-admin) but not on the root of the domain even though the favicon.ico is also uploaded there
You will see the icon on address bar instead of W
im not sure to understand what you are saying. Im seeing the favicon on the address bar when i'm logged in in the admin but not when i look at the site under http://www.domain.com. is there something else I should edit in order to get it to show?
Post you url see if I can see your favicon
well you don't know what it looks like, the old one is pink crown.
http://www.menstrualcup.co/
new one is a dark pink cup (looks like a funnel)
What ever you change in root favicon.ico is what you should see I see pink icon
they are both pink. do u see the crown or the funnel?
yes that's the old one. the one that is in the root folder is the other one that just won't show :(
Never mind, It's fixed now