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

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.

Try the tools

Continue reading

Explore FetchFavicon

Categories

Converters

Utilities

Guides

Tutorials