Questions tagged [favicon]
The favicon tag has no usage guidance.
51 questions
0
votes
1
answer
41
views
Changable favicon based on post-featured image
its possible use to change the favicon on based the post-featured image icon?
I use 100x100 size or 64x64 icon images on my posts. I want these icons to show as a favicon also. if some posts not have ...
0
votes
0
answers
101
views
How do I change the my website icon in the search results page of a web browser?
I tried looking trough Youtube videos and other webs, but still couldn´t change it.
0
votes
0
answers
30
views
Problem after redirect homepage to /en/
My homepage site URL was like this: example.com and example.com/en/ then i want my homepage always have /en/ so i add this code to my function.php but after 1 month my website lost icon when i search ...
0
votes
1
answer
44
views
Favicons with WP in a specific folder in 2023
I wanted to know the best implantation of favicon in wordpress.
My wordpress (updated) is running on a specific folder.
I used https://www.favicon-generator.org/ to start.
Should I still use all ...
0
votes
1
answer
658
views
Favicon not showing in Google search results
My website's favicon is not showing up in Google's search results. I have tried several things without success, but I think I understand what goes wrong now.
On the Wordpress dashboard, I clicked into ...
0
votes
0
answers
55
views
Favicon not showing
My favicon is showing when accessing the website, but it's not showing when searching it on Google. The website is https://discovernavarra.com. I have tried several things like clearing my browser ...
0
votes
2
answers
9k
views
Why can't I upload ICO files to Wordpress?
Via the Site Identity settings in the Customizer, I can't upload a favicon image. I get the error message 'Sorry, you are not allowed to upload this file type.'
But if I just copy the favicon to my ...
0
votes
0
answers
903
views
How to change the Wordpress email icon?
When emails go out from a WordPress site, there is a site icon that goes with them and appears in email clients. This icon is taken from the WordPress favicon that is set under Appearance > ...
0
votes
1
answer
49
views
Favicon not loading until cookies are accepted?
I'm seeing a weird issue where my site's favicon is not loaded until I accept cookies on a cookie plugin. I wrote the plugin and as far as I know there is no tie of a favicon to cookies and the ...
1
vote
0
answers
76
views
Trying to create a plugin to change wordpress site icons per page
I am trying to create a plugin to alter a WordPress websites default site icon set under appearance>customize.
I am unable to find and good resources/examples on how to modify the existing site ...
0
votes
1
answer
322
views
Getting an error. Need to add favicon in my child theme functions.php. What's wrong?
When I put this code in my functions.php
add_action('wp_head', 'my_favicon');
function my_favicon() {
echo "<link rel='shortcut icon' href=' " . get_stylesheet_directory_uri() .
...
4
votes
4
answers
4k
views
How to disable cropping of the site icon?
Is it possible to disable the cropping step when adding a site icon via the Theme Customizer in WordPress 5+ (occurred to me in 5.5)?
For me cropping is unnecessary because I always upload a square ...
3
votes
1
answer
4k
views
Why does WordPress want a 512×512 pixel site icon
I get that a site icon needs to be square, but I don't know why it needs to be as large as 512×512 or larger.
Can anyone advise why is this, and/or where that image would be used at a resolution ...
0
votes
3
answers
3k
views
Problem with favicon in the latest wp
Im having a problem with the favicon icon in WordPress 5.4.2. Im including my own favicon in the sites header.php, that is used for wp and wp non related static pages. The problem is that when I open ...
0
votes
1
answer
2k
views
Not able to show the favicon to the uploads URL in WordPress
I am working on my client WordPress project and I have uploaded the PDF in the media. When I open the PDF URL, it is not showing the favicon.
My client wants to show the favicon in the PDF url.
I ...
4
votes
4
answers
2k
views
Set Site Icon programmatically (eg. using `wp cli`)
Wordpress has a "Site Icon" feature that serves correctly-sized favicons and so on to browsers. Is there a way to drive this feature programmatically, eg. by uploading media and setting an option with ...
0
votes
2
answers
1k
views
Changable favicon
I am looking for help to put single page favicon that would overwrite global one.
Say for example I have wordpress website that is example.com and it has favicon set for every page. What I want is for ...
0
votes
2
answers
10k
views
wordpress favicon not working properly on all browsers
Curious fact: the favicon works only on admin dashboard on chrome/opera.
I've tried to clean the cache, but still not work. The line of code to the favicon its being included, buts it just doesnt ...
0
votes
4
answers
11k
views
Different favicon on different pages
Is it possible to have different favicon on on different pages?
For example:
mywebsite.com/blog-1 -> favicon-1
mywebsite.com/blog -> favicon-2
And so on.
I have custom domain name for each ...
3
votes
2
answers
1k
views
Conditional Logic to Check for Site Icon
From what I've read (Check if Favicon is set in Customizer and others), it appears checking to see if a site icon is set in a theme should be easy. It doesn't seem to be working for me. I'd like to ...
0
votes
1
answer
1k
views
Check if Favicon is set in Customizer
There's this "Site Icon" option in the customizer, which allows you to set a favicon. I'm creating a theme which already has its own favicon.
How can I check if the favicon is already set in the ...
1
vote
1
answer
999
views
Posting with slug "favicon" gets redirected
I've created a WordPress posting with an URL slug "favicon":
https://blog.zeta-producer.com/favicon/
Unfortunately this seems to somehow interfere with the favicon, because instead of showing the ...
1
vote
2
answers
6k
views
How to change in customizer the "site identity" tab required capabilities
I'm building a multisite in which site admins have no "manage options" capability. The problem is that withut this cap they cannot see the "site identity" tab in the customizer, where they can change ...
2
votes
3
answers
5k
views
Remove apple-touch-icon link generated by WordPress
I am adding Favicons and Icons to my site manually in a more proper way than what WordPress adds by default. My WordPress is generating the below 4 lines of code automatically.
<link rel="icon" ...
5
votes
2
answers
14k
views
Where do the favicons for Media Files come from
I have uploaded some PDFs to the Media Library.
I cannot find a way to set the browser favicon for the PDF media files.
Where does WordPress get the favicon from?
Is there anyway to control the PDF ...
0
votes
1
answer
4k
views
Favicon only appearing on the homepage?
I place my favico favico.ico on the root directory of my site.
Add the following code to wp-content/themes/f2/header.php:
<link rel="shortcut icon" href="<?php echo ...
13
votes
1
answer
6k
views
How to display .ico files in the media library
I have added a .ico mime type into my WordPress site and I'm able to upload favicon files. But the media library only displays the default.png image for these images and also in the Customizer. How ...
1
vote
2
answers
746
views
Where can I change favicon in my wordpress website?
I want to delete old favicon and replace new favicon in my wordpress website.
Please suggest, which file name and where code that I need to add new favicon.ico in my wordpress website?
0
votes
1
answer
110
views
adding a favicon to site2 - site1/site2/favicon.ico
I have a setup on wordpress with site1 and site2 under site1.
I'm having problem on favicon on site2 because site2 favicon uses the favicon for site1.
i have a code on my header.php inside site2
&...
1
vote
0
answers
758
views
Rewrite rule for path of favicon.ico ( Add_rewrite_rule function possible ? )
Hi Wordpress developers !
I'm wondering, is it possible to make by PHP and power of Wordpress following:
If user access http://localhost/favicon.ico, is it possible to make show user data from http:/...
2
votes
2
answers
6k
views
How to add iOS & fav icons to the theme?
I want to add iOs, Android and favourite icons to the website. Generally I udnerstand how they shold be implomented: link files in the head section and you good to go, however there are many lines (...
8
votes
2
answers
16k
views
How to add favicon to my site - in both front end and admin panel
How can I add favicon to my WordPress site in both front end, and admin panel. I've tried many ways, but failed.
I know, to show favicon the code is:
<link rel="shortcut icon" href="images/...
1
vote
1
answer
322
views
Compact pingback list with favicons
On a blog with pingbacks and trackbacks (pings) enabled I want to show just a link with link text and a favicon of the external site in a compact list: no date, no text.
How can I do that?
0
votes
1
answer
89
views
Favicon does not showup
I activated the All in one Favicon and then uploaded my Favicon in the settings but it does not show up in any browser (my under construction site: http://www.kheemh.com/).
Any help will be highly ...
2
votes
1
answer
202
views
Why does WP recommend against custom favicon functionality in themes?
I am developing a WordPress theme, and when reading the Codex article on Theme review, WP recommendeds against allowing custom favicons in a theme. Does anyone know the reason for this recommendation?
...
0
votes
2
answers
207
views
How do I add a favicon that only shows during viewing of my plugin's admin panel?
How do I add a favicon that only shows during viewing of my plugin's admin panel? I mean, what event do I intercept?
0
votes
1
answer
139
views
favicon now showing up
I have wordpress installed in the /home directory on my server, so it was set up that you would have to go to www.mywordpress.com/home to see my wordpress and just going to www.mywordpress.com would ...
14
votes
4
answers
26k
views
What's the proper way to add a favicon in Wordpress without a plugin? [closed]
What's the proper way to add a favicon in Wordpress without a plugin?
Do I just place a file called favicon.ico with my icon into the root of my site?
Do I also need this code?
<link rel="...
1
vote
1
answer
2k
views
Change Favicon on Login Screen?
I have a rather basic question.
Does anyone know how to change the favicon on the login screen?
I have it on all other areas of my site.
But I cannot change it from showing on this page:
http://...
2
votes
2
answers
3k
views
favicon and multi site
what about if you are on a multi site install, where would you put the favicon to have it automaticallly recognized by the browser (and no blot the code with link tag)cause there is no real root per ...
8
votes
4
answers
15k
views
Favicon storage - which folder should be used?
This question is not technical but rather "ideological" - where in WP should favicon be stored (in "correct" way)? Should it be in the root (where wp-config.php) is stored OR should it be in current ...
0
votes
1
answer
389
views
how to create a fav icon shortcode?
i wonder if there is a good way to create a shortcode that retrives a remote website FAV icon... i found this: ANSWER and tried to create a shortcode using it but failed (since i sux at shortcodes!)
...
0
votes
3
answers
680
views
Unable to display favicon using get_favicon()?
I'm using fetch_feed (based on Simplepie) to display an array of RSS feeds (favicon & headlines only). Documentation on the simplepie website says to use get_favicon in the stylesheet. And I'm ...
1
vote
1
answer
3k
views
Multisite favicon.ico
I know it's pretty easy to add a unique favicon.ico to each site in a multisite install. But any ideas for making each sites favicon.ico appear to be in the root directory of the site?
The end ...
-1
votes
1
answer
2k
views
Favicon not working properly in chrome and in firefox
I am using wordpress for my website. I put the favicon.ico file in the wp-content folder and I inserted this code into the header:
<link href="http://seriousautosport.com/wp-content/favicon.ico" ...
3
votes
2
answers
2k
views
Favicon plugin for WordPress running in network mode (multisite)? [closed]
What favicon plugin should I use in order to define favicons for Wordpress when I run in multi-site mode.
Uploading favicon.ico files is not an option for multi-site wordpress instances.
I am ...
1
vote
2
answers
721
views
Twentyten Child Theme: header images display messed up in admin panel
WordPress v 3.0.4 multisite-network enabled, local installation w MAMP 1.9.4, PHP 5.3.2, Theme: Twentyten child
TWO PROBLEMS: 1) Display of header image thumbnails in admin panel and 2) path to ...
1
vote
3
answers
12k
views
Can't delete unwanted favicon
I have a favicon that is a remnant of a disactivated wordpress theme. I can't find the favicon file in the theme folder, or the wordpress or server root.
I have added my own reference to a new ...
3
votes
7
answers
15k
views
How to change the WordPress favicon?
I'm looking for a way to change the WordPress favicon. Any hints how to do this?
1
vote
2
answers
4k
views
Plugin that inserts favicon next to links
I, like many others, have numerous links all over my website. Some are in the body, some are in the sidebars, some are in comments. When links go to an external site, I would very much like to have ...