Favicon not showing in Atahualpa

Share the post “Favicon not showing in Atahualpa”

FacebookTwitterShare… window.addEventListener(“DOMContentLoaded”, function(){ if ( navigator.share ) { let shareurl = document.location.href; let btns = document.querySelectorAll(“.juiz_sps_link_shareapi button:not([data-bound])”); const canon = document.querySelector(“link[rel=canonical]”); if (canon !== null) { shareurl = canon.href; } btns.forEach(function(el) { el.closest(“.juiz_sps_link_shareapi”).removeAttribute( “style” ); el.setAttribute( “data-bound”, “true” ); el.addEventListener(“click”, async () => { try { await navigator.share({ title: “Favicon not showing in Atahualpa”, text: “Favicon not showing in Atahualpa – “, url: shareurl, }); console.info(“Nobs: Successful share”); } catch(err) { console.warn(“Nobs: Error sharing”, error); } }); }); } });

Are you having trouble getting your favicon to show up in WordPress using Atahualpa? Read on for my trials and tribulations! Or just use one of these two solutions:

Solution #1 – Just stick a file called favicon.ico in the root directory of your website, above the wp-content/ folder.

Solution #2 – Put your file called whateveryouwant.ico in wp-content/ata-images/ and then go to Appearance->Atahualpa Theme Options->Add a Favicon and tell it what name you want. (IGNORE what it says in there about where to put the file. It’s lying to you. Check out Atahualpa Theme Options->Image Locations to see why.)

[…]