[Resolved] where can I edit the tag ?

Tagged: 

  • Author
    Posts
  • #14129

    fif
    Participant

    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 ?

    Thanks,
    Delphine

    #14130

    Andrew Misplon
    Keymaster

    Hi 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.

    #14131

    fif
    Participant

    Thanks, I will try the plugin and if it is not suffiscient I shall go to the child theme.

    #14132

    Andrew Misplon
    Keymaster

    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/.

    #14133

    fif
    Participant

    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 ?

    #14134

    fif
    Participant

    Plugin used Insert Headers and footers

    #14135

    Andrew Misplon
    Keymaster

    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?

    #14136

    fif
    Participant

    OK all good thanks !
    It was saved but not published …

    #14137

    Andrew Misplon
    Keymaster

    Glad you’ve made progress 🙂

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

Scroll to top