Viewing 4 reply threads
You must be logged in to reply to this topic.
Hello,
After the theme update (2.6.1.) the favicon does not work anymore.
Could you please take a look?
Thanks in advance!
Best regards, Frank
Hello,
You are right! Sorry for the inconvenience. We will fix this in the next theme update.
In the mean time, please go to file includes/core/core-functions.php
Right after this line:
/*--------------------- End Text Limit ----------------------------------*----- */
Add this block of code:
/*--------------------- FAVICON ----------------------------------------------- */
if(!function_exists('codeless_favicon'))
{
function codeless_favicon($url = "")
{
$icon_link = "";
if($url)
{
$type = "image/x-icon";
if(strpos($url,'.png' )) $type = "image/png";
if(strpos($url,'.gif' )) $type = "image/gif";
$icon_link = '<link rel="icon" href="'.$url.'" type="'.$type.'">';
}
return $icon_link;
}
}
/*--------------------- End FAVICON ----------------------------------------- */
Save changes.
Let me know if you need further help.
Best regards!
You must be logged in to reply to this topic.