A Site Icon, also known as a favicon – is a unique icon for your website. It is shown on site visitors’s web browser tab. If you want to show site icon url, So Paste given code where you want to show.
How to do
Open your website’s theme then paste <?php echo get_site_icon_url() ?> , and show site icon’s URL. If your have use Schema markup on your site and want to show that to add between JSON-LD script.
Example:-
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"url": "<?php echo get_site_url(); ?>",
"logo": "<?php echo get_site_icon_url() ?>"
}
Hope this code worked on your website. Thanks for reading this article.