Title: Header Issue
Last modified: November 1, 2022

---

# Header Issue

 *  Resolved [yellowvsblue](https://wordpress.org/support/users/yellowvsblue/)
 * (@yellowvsblue)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/header-issue-50/)
 * 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](https://chimpstatic.com/mcjs-connected/js/users/35d5b39f749b5e774cc5f402a/41297fe5b7a94ee8f781657dd.js&#8221););
   </script>
 * Regards,
 * Doaa
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fheader-issue-50%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/header-issue-50/#post-16155484)
 * Hi [@yellowvsblue](https://wordpress.org/support/users/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](https://wordpress.org/support/users/yellowvsblue/)
 * (@yellowvsblue)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/header-issue-50/#post-16155735)
 * 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](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/header-issue-50/#post-16155761)
 * Hi [@yellowvsblue](https://wordpress.org/support/users/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 3 years, 7 months ago by [Mircea Sandu](https://wordpress.org/support/users/gripgrip/).
      Reason: removed file mention as file is actually loading ok
 *  Thread Starter [yellowvsblue](https://wordpress.org/support/users/yellowvsblue/)
 * (@yellowvsblue)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/header-issue-50/#post-16155793)
 * 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.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

## Tags

 * [header and footer](https://wordpress.org/support/topic-tag/header-and-footer/)

 * 4 replies
 * 2 participants
 * Last reply from: [yellowvsblue](https://wordpress.org/support/users/yellowvsblue/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/header-issue-50/#post-16155793)
 * Status: resolved