- This topic has 8 replies, 2 voices, and was last updated 4 years, 8 months ago by Andrew Misplon.
Tagged: header
- AuthorPosts
- March 17, 2020 at 3:12 pm #14129
fifParticipantHi I need to edit the < / head > tag to insert a pop up form on my web site, I can’t find the HTML version of the header, where is it ?
Thanks,
DelphineMarch 17, 2020 at 3:49 pm #14130
Andrew MisplonKeymasterHi Delphine
Thanks for reaching out.
Theme files are overwritten each time the theme is updated so unless you’re using a child theme it’s best to not edit the core theme files. You can use a plugin like Insert Headers and Footers to insert tags into the head or footer.
March 17, 2020 at 4:09 pm #14131
fifParticipantThanks, I will try the plugin and if it is not suffiscient I shall go to the child theme.
March 17, 2020 at 4:20 pm #14132
Andrew MisplonKeymasterSounds good. You can also use a plugin like Code Snippets if you research the function to be used. For Analytics, I’ve documented the appropriate function at the following URL: https://purothemes.com/documentation/general-wordpress/adding-google-analytics/.
March 17, 2020 at 4:44 pm #14133
fifParticipantHi Andrew, I have put the plugin as you said and inserted the script in the header. It is a script for a sign-up form from mailchimp on the website.
Il should appear nearly straight away on the website, don’t you think ?March 17, 2020 at 4:50 pm #14134
fifParticipantPlugin used Insert Headers and footers
March 17, 2020 at 4:54 pm #14135
Andrew MisplonKeymasterIssues might be that you’ve saved the snippet but haven’t published it or perhaps you’re using a caching plugin and it isn’t showing because you need to clear your site’s cache or perhaps your browser cache.
Are you checking for the snippet by inspecting your site’s source code?
March 17, 2020 at 5:00 pm #14136
fifParticipantOK all good thanks !
It was saved but not published …March 17, 2020 at 5:04 pm #14137
Andrew MisplonKeymasterGlad you’ve made progress 🙂
- AuthorPosts
You must be logged in to reply to this topic.