How to Add a Favicon in WordPress

WordPress calls it a Site Icon and handles every size for you. Here's the 60-second walkthrough.

3 min read

Check favicons on any website

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

Install Chrome Extension

Via the Customizer

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

Via your theme

For custom control, override get_site_icon_url() in functions.php. Useful when you want different icons per site section.

Why isn't my favicon updating?

Browsers cache favicons aggressively. Hard-refresh, or append ?v=2 to the favicon URL once to bust the cache.

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.

Related guides

Try the tools

Continue reading