Favicon Not Showing

I added the site icon to www.brandonlblankenship.com but it is not showing up as the favicon. What else should it do?

Hello there,

I can see your favicon here. Have you been able to resolve it by yourself?

Regards,
Kharis

okay - i checked from another computer. IE works great. Google Chrome - no favicon. Ideas?

Hello there,

I would like to apologize in advance for the delay.

Could you please to add the following function to the functions.php file?


add_filter('site_icon_meta_tags', 'sydney_child_site_icon');
function sydney_child_site_icon(){

  return array(
    sprintf( '<link rel="icon" href="%s" type="image/jpg" sizes="32x32" />', esc_url( get_site_icon_url( 32 ) ) ),
    sprintf( '<link rel="icon" href="%s" type="image/jpg" sizes="192x192" />', esc_url( get_site_icon_url( 192 ) ) ),
		sprintf( '<link rel="icon" href="%s" sizes="32x32" />', esc_url( get_site_icon_url( 32 ) ) ),
    sprintf( '<link rel="icon" href="%s" sizes="192x192" />', esc_url( get_site_icon_url( 192 ) ) ),
    sprintf( '<link rel="apple-touch-icon-precomposed" href="%s" />', esc_url( get_site_icon_url( 180 ) ) ),
    sprintf( '<meta name="msapplication-TileImage" content="%s" />', esc_url( get_site_icon_url( 270 ) ) ),		
  );

}

If possible, you should pass it in the child theme.

Let me know how it goes.

Regards,
Kharis