- March 17, 2020 at 3:12 pm #14129
Hi 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 ?
DelphineMarch 17, 2020 at 3:49 pm #14130
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
Thanks, 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
Sounds 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
Hi 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
Plugin used Insert Headers and footersMarch 17, 2020 at 4:54 pm #14135
Issues 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
OK all good thanks !
It was saved but not published …March 17, 2020 at 5:04 pm #14137
Glad you’ve made progress 🙂
You must be logged in to reply to this topic.