Favicon in child theme
-
I blame esmi for this ??
I have created a child theme; just to change title colour.
Having read https://codex.www.ads-software.com/Child_Themes
I cannot get favicon to work; it totally changes my pages; I appreicate this is probably due to me creating a blank header.php with just the favicon code.
For the time being, I have added the two favicon line to the twentyten theme header.php; I understand that this change can disappear in an upgrade.
What is the minimum I can put in a header.php or functions.php in the child theme to make the favicon work?
As I’m not hot with PHP, I assume I need more than just:<link rel="shortcut icon" href="https://www.windmillhillvillage.co.uk/images/favicon.ico" type="image/vnd.microsoft.icon" /> <link rel="icon" href="https://www.windmillhillvillage.co.uk/images/favicon.ico" type="image/x-ico" />
in a file to make it work.
The above added to original theme works fine, what else do I need to type to add it to the child theme.
Thanks
John
- The topic ‘Favicon in child theme’ is closed to new replies.