Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [favicon]

The tag has no usage guidance.

0
votes
0answers
12 views

Function to make black and white favicon

I use this function: function add_favicon() { $favicon_url = get_stylesheet_directory_uri() . '/images/icons/admin-favicon.ico'; echo '<link rel="shortcut icon" href="' . $favicon_url . '" ...
0
votes
1answer
37 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
2answers
42 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 ...
-1
votes
2answers
3k 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
1answer
809 views

Different favicon on different pages?

Is it possible to put Favicon on a specific page ? For example : mywebsite.com/blog1 -> Favicon1 mywebsite.com/blog -> Favicon2 And so on. Because later I'll put custom domain name for ...
3
votes
2answers
342 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
1answer
563 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
1answer
297 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
2answers
4k 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 ...
1
vote
3answers
2k 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" ...
3
votes
3answers
3k 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
1answer
3k 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 ...
12
votes
1answer
2k 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
2answers
269 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
1answer
94 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
0answers
518 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:/...
3
votes
2answers
5k 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 (...
5
votes
2answers
9k 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
1answer
264 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
1answer
71 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
1answer
173 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
2answers
91 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
1answer
129 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 ...
9
votes
4answers
15k 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
1answer
1k 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://...
0
votes
2answers
1k 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
4answers
7k 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
1answer
290 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
3answers
618 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
1answer
1k 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
1answer
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
2answers
1k 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
2answers
648 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
3answers
9k 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 ...
2
votes
7answers
10k 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
2answers
3k 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 ...
1
vote
2answers
2k views

How do I set my Feedburner feed to use my favicon?

I'm not sure if this setting is handled in my wordpress installation or by Feedburner but right now my feedburner feed is displaying the feedburner favicon. How can I set it to use my blogs favicon?