Tagged: footer
- This topic has 3 replies, 2 voices, and was last updated 12 years, 1 month ago by Sakin.
-
AuthorPosts
-
October 22, 2012 at 10:07 pm #1318stephennewtonMember
It would be great if there was a way to insert javascript into the blog footer without editing footer.php. For example, I use Amazon’a quick linker widget. You can place the javascript in a text box widget placed in the footer area, but that creates an empty box.
October 23, 2012 at 11:07 pm #1335SakinKeymaster@stephennewton: This is very simple. From your WordPress Dashboard go to
Appearance -> Webmaster Tools -> Webmaster Site Verification Code. Then add your script in “Analytics, site stats footer code” box.October 24, 2012 at 7:15 pm #1345stephennewtonMemberThanks, that’s great.
The JavaScript I’m inserting does fit the heading ‘Webmaster Site Verification Code’, which is why I missed this feature. Perhaps it would be worth re-naming this something more obvious like ‘Header and Footer Code Inserts’ with individual options becoming ‘Header Code (e.g. JavaScript, analytics’ and ‘Footer Code (e.g. JavaScript, analytics’
October 26, 2012 at 7:14 pm #1372SakinKeymaster@stephennewton: Thanks for your suggestion. I will change it.
-
AuthorPosts
- The topic ‘Inserting Javascript directly into footer’ is closed to new replies.