Site logo

Archived topic

Selecting site icon copies the "cropped" file

3 replies · Started by Jim on September 10, 2021

Viewing posts 1–4 of 4

I have a site icon file that is 512x512 px. When I choose it in Customize > Site Identity > Site Icon, a copy of is made, prefixed by 'cropped-' (but it isn't, it's also 512x512) and postfixed with a bunch of numbers and hyphens. And 6 smaller resolutions are made. And that new one is designated the site icon. Is this necessary? Why can't it just use file I gave it?
https://forestpathology.org

Hi there,

The Site Icon feature is a core WordPress feature. I just gave it a try and it looks like they do require you to "crop" it for some reason.

You can always add the tag to your site without using the option:

add_action( 'wp_head', function() {
    echo '<link rel="icon" href="URL TO YOUR FILE" type="image/x-icon" />';
} );

Thanks very much. Good to know.

No problem!

This archived topic is closed to new replies.