Strange favicon since worpress update
-
Hei,
i am experiencing a strange new favicon on my website, since i updated worpress to v5.4. I like having no favicon at all, like it is predefined.
Do you have any suggestions how to get rid of it?Thanks
Sebastian -
Oh, it seems to be related to this:
https://make.wordpress.org/core/2020/02/19/enhancements-to-favicon-handling-in-wordpress-5-4/"As of WordPress 5.4, theme and plugin authors can manage favicon requests much more flexibly, with the following logic:
- If there is a Site Icon set in Customizer, redirect /favicon.ico requests to that icon.
- Otherwise, use the WordPress logo as a default icon.
- If a physical /favicon.ico file exists, do nothing and let the server handle the request.
[...]
Deprecations
wp_favicon_request() is now deprecated in favor of do_favicon()." -
Yea I wish I could just disable this but I can't see from the documentation on how I would go about doing that.
You can set your own new favicon in "Customize" -> "Favicon"
-
thanks @arminunruh
and what if i want to have no favicon at all? any ideas?
-
maybe insert a transparent png there
-
Well, I just created a kind of favicon. Thanks anyway!
-
I know its too late to reply on this thread, But if you still facing same issue with favicon then you can easily change it but following this guide: https://codup.co/add-favicon-to-wordpress/
-
Dear @zubairkhan
Thats really kind, thank you for providing the solution/conclusion to the thread for others! :)
Best wishes and have a wonderful day
Sincerely
Rich
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. When using a WordPress Cache plugin, disable it or clear your cache.
Now see if your problem solved itself.
Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it
I don't answer or check forum DMs, please just post on the forum.