Simple Javascript won’t run unless page is refreshed

[ad_1]

Apologies if this is a simple question that's been answered, but I've searched everywhere and haven't seen this exact problem with a solution.

I'm trying to put this simple code into my wordpress site:

<script type="text/javascript" src="https://www.bandhelper.com/widget/calendar/30569?layout=2&range=6"></script>

Which puts a calendar on my site that has data coming from a different service. The widget only loads if I refresh the page (either by the refresh/F5 or by clicking the address bar and hitting enter) but won't load if I get to the site via a link (either internal on the website or from an external link source).

This is my website so you can see the behavior: http://www.brettdooley.com

The calendar is most of the way down that front page, there are also widgets on the contact and song list page that don't load unless refreshed, same problem.

I've tried:

  1. putting the script in text and html blocks
  2. adding the script as raw text in the page
  3. using plugins to create shortcodes from the script and adding those

I'm stuck 🙁

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer