Archived topic
Script not showing
3 replies · Started by Nicolas on January 14, 2023
Hi all !
I hope you're doing well ?
I have inserted a script in a page but the only thing showing is some linked text. Please, please can you help me?
The script:
<div><p style='text-align:center;font-size:13px;padding:10px;'>Store locator is loading from StoreRocket <a target='_blank' href='https://storerocket.io' rel="noopener">Store Locator Widget</a>..</p></div><script>(function(){var a=document.createElement('script');a.type='text/javascript';a.async=!0;a.src='https://cdn.storerocket.io/js/widget-mb.js';var b=document.getElementsByTagName('script')[0];b.parentNode.insertBefore(a,b);}());</script>
The page : https://www.symbiose-kefir.fr/ou-trouver-nos-produits/
Regards,
Nico
Hi there,
how was the script added to the page ?
Hi David,
Html block.
Hmm I'd assume it's a problem with the actual script - I can't see how this would be a theme issue.
I'm also seeing a console error which can be the cause as well:
https://www.screencast.com/t/Fasstf2Uh0y
Have you tried disabling all plugins except GP Premium to test?
If that doesn't help, does it work in a Twenty series WP theme?