Come aggiungere un favicon in WordPress

WordPress la chiama Site Icon e gestisce ogni dimensione per te. Ecco la procedura da 60 secondi.

3 min di lettura

Check favicons on any website

Install the FetchFavicon Chrome Extension to extract, preview, and validate favicons instantly.

Install Chrome Extension

Dal Personalizza

Aspetto → Personalizza → Identità del sito → Icona del sito. Carica un PNG quadrato 512×512+ e clicca Pubblica.

Tramite il tema

Per un controllo avanzato, sovrascrivi get_site_icon_url() in functions.php. Utile se vuoi icone diverse per sezione del sito.

Perché la favicon non si aggiorna?

I browser conservano le favicon in cache a lungo. Esegui una ricarica forzata (Ctrl+Shift+R) oppure aggiungi ?v=2 all'URL della favicon per forzare l'aggiornamento.

FAQ

How do I add a favicon in WordPress without code?

Go to Appearance → Customize → Site Identity → Site Icon. Upload a square 512×512+ PNG and click Publish.

What favicon size does WordPress require?

WordPress asks for at least 512×512 pixels. It auto-generates smaller sizes from your upload.

Why is my WordPress favicon not updating?

Browsers cache favicons heavily. Hard-refresh or append ?v=2 to the favicon URL once after uploading a new icon.

Guide correlate

Prova gli strumenti

Continua a leggere