our site icon is not showing in mobile search results unfortunately. I read that according to google, our page should define the siteicon with a header tag such as . But on our homepage it does not do that apparently. I cannot see it in the page code when inspecting it. However I have define the siteicon under customize. It is a png file with the size of 520x520 pixels, as recommended. I want to avoid overwriting theme functions, if possible.
Further I saw in the header.php there is a section as follows:<?php if ( ! function_exists( 'has_site_icon' ) || ! has_site_icon() ) : ?>
<?php endif; ?>
<?php if ( get_theme_mod('site_favicon') ) : ?> <link rel="shortcut icon" href="<?php echo esc_url(get_theme_mod('site_favicon')); ?>" /> <?php endif; ?>
So apparently the theme foresees this shortcut icon tag but I guess the function ‘has_site_icon’ somehow delivers the value “false”. What could be the reason for that?
Our homepage is https://www.coralia-liveaboard.com/.
Thanks in advance for your help & kind regards