Hi @nanyewebdev,
You have a plugin which is attempting to optimize javascript somewhat unsuccessfully, wpfc-minified. You can see in your console that it’s happening to a few other elements on your page:
[DOM] Found 2 elements with non-unique id #s: (More info: https://goo.gl/9p2vKq) <input type="text" class="form-control" name="s" id="s" placeholder="Search..."> <input type="text" class="form-control" name="s" id="s" placeholder="Search...">
(index):1 [DOM] Found 2 elements with non-unique id #searchform: (More info: https://goo.gl/9p2vKq) <form class="form-row align-items-center" method="get" id="searchform" action="https://www.westerntech.edu/">…</form> <form class="form-row align-items-center" method="get" id="searchform" action="https://www.westerntech.edu/">…</form>
(index):1 [DOM] Found 2 elements with non-unique id #searchsubmit: (More info: https://goo.gl/9p2vKq) <input type="submit" class="btn btn-primary" name="submit" id="searchsubmit" value="Search"> <input type="submit" class="btn btn-primary" name="submit" id="searchsubmit" value="Search">
I would remove simple banner from that optimization plugin and everything should work properly.
Thank you so much for the quick reply! That makes total sense. I have disabled that WPFC but it didn’t help. I checked its setting page, but don’t see where to remove simple banner from this plugin.
On the setting page: the mifify js option is checked off by default. THere is a option: Combine Js. Should I check off that one.
Thanks for your help!
Yes try unselecting combine js, and then also make sure your browser cache is also cleared, as well as the WPFC cache.
I did just try unselecting combine js and cleared my browser cache. Still showing 2 banners….. Really frustrating….
Okay so your website is loading every script, not just simple banner, twice. I would check every plugin you have and see if there’s anything relatived to head scripts and see if you can disable that feature. Could be the Yoast SEO plugin but i can’t be sure because those scripts are also duplicated.
Thanks for the recommendation. It was sorely caused by Yoast SEO plugin. After I deactivated SEO, now it’s showing the banner properly….
Glad you were able to find the culprit. I unfortunately don’t have much experience with Yoast, but I would recommend posting in their support forums and telling them that the plugin caused every script and link in your <head> element to appear twice.