I am looking to put a flavicon on my website at http://www.voguemashup.com. I cant find the place to put it in our theme. Thanks
Tony
Flavicon
(5 posts)
(4 voices)
-
Posted 1 year ago #
-
Hi aschafer,
inFocus does not support favicon by default. To add support to it, do the following:
- Open the "wp-content\themes\infocus\header.php" file
- Around line 7 (after the closing </title> tag) add this line of code:<link rel="shortcut icon" href="<?php echo bloginfo('template_url'); ?>/images/favicon.png"/>- Go to the "/wp-content/themes/infocus/images/" folder
- Paste the image you want to use (must be called favicon.png )
- To view the changes, remember to hard-refresh your browser ( CTRL+F5 on a PC ) or clear cacheLet us know if you solved the problem
Posted 1 year ago # -
Hi,
I tried creating a favicon using the instructions given, and it doesn't seem to be working, however I noticed the person who originally asked this question was able to create a favicon.
My header.php looks like this:
<?php /** * Header Template * * @package Mysitemyway * @subpackage Template */ ?><!DOCTYPE html> <!--[if lt IE 7]> <html class="ie ie6 lte9 lte8 lte7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 7]> <html class="ie ie7 lte9 lte8 lte7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 8]> <html class="ie ie8 lte9 lte8" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 9]> <html class="ie ie9 lte9" <?php language_attributes(); ?>> <![endif]--> <!--[if gt IE 9]> <html> <![endif]--> <!--[if !IE]><!--> <html <?php language_attributes(); ?>> <!--<![endif]--> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <title><?php mysite_document_title(); ?></title> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <link rel="shortcut icon" href="<?php echo bloginfo('template_url'); ?>/images/favicon.png"/> <?php mysite_head(); ?> <?php wp_head(); ?> </head>I created (in paint) a favicon.png file and uploaded it to the "/wp-content/themes/infocus/images/" folder.
I did a hard refresh but it still isnt working. I'm using the InFocus theme.
Posted 4 months ago # -
Hello edenshawhomes,
We have an option for this in Dashboard -> your theme -> General Settings, http://mysitemyway.com/docs/index.php?title=General_Settings#Favicon.
Posted 4 months ago # -
Well that was super easy and much more time efficient haha. Thank you Elliott :) :)
Posted 4 months ago #
Reply
You must log in to post.













