• Resolved yellowvsblue

    (@yellowvsblue)


    I’m facing an issue with adding a header code. I copied the code from the CRM site which is about a popup message in my website appearing at the top of it, After adding the code in the header section from the snippets I was able to see it on the website but when I close the page and re-open it again I didn’t see it anymore. It appeared just one time after adding it. So, Could I know the reason and the solution for it?

    The popup message code:

    <script id=”mcjs”>!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,”script”,”https://chimpstatic.com/mcjs-connected/js/users/35d5b39f749b5e774cc5f402a/41297fe5b7a94ee8f781657dd.js&#8221;);</script>

    Regards,

    Doaa

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @yellowvsblue,

    I can see the script is loaded now in your page, from what you are describing it might have been a caching issue.

    Thread Starter yellowvsblue

    (@yellowvsblue)

    Yes, it should exist on my page now but if you try to open it again you will not find the popup message. So, how can I solve the caching issue, please?

    Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @yellowvsblue,

    This doesn’t sound like a problem with how WPCode loads the script but a problem with what the script does.
    As the script is loaded from an external file I don’t think there’s a straight-forward way to alter that behaviour from inside WPCode.

    • This reply was modified 2 years, 4 months ago by Mircea Sandu. Reason: removed file mention as file is actually loading ok
    Thread Starter yellowvsblue

    (@yellowvsblue)

    Yes got it, thank you so much for your immediate help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Header Issue’ is closed to new replies.