Installing a Favicon in WordPress

If there is already an old favicon.ico file in your current theme’s main folder, delete it using FTP Clients.

  1. With an FTP Client, upload the new favicon.ico file into your current theme’s main folder.

  2. Upload another copy of your favicon.ico file to the main directory of your site (ie. http://faviconico.org/favicon.ico). This will display the favicon in your subscribers’ feedreaders.

In order for your favicon to show up in some older browsers, you will need to edit your page header. Remember, the best way to edit your theme's files is via a Child Theme. For the purpose of the following instructions you will need to create a copy of your parent theme's header.php file in your child theme.

  1. Go to your WordPress Administration Panel.

  2. Click on Appearance.

  3. Click on Theme Editor.

  4. Select the file called Header or header.php to edit the file.

  5. Search for the line of code that begins with <link rel="shortcut icon" and ends with /favicon.ico" />. Overwrite it, if it exists, or add the following code below the <head> HTML tag.

    <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico" />
  6. Save the changes. 



Faviconico.org design by @PuWong. Favicon.ico Generator,ico converter Free favicon maker, Realtime preview your design. Privacy policy and terms | About Us | Contact Us
free web stats