Third Party Javascript Widget

  • I’m trying to add an interactive map to our product page whose code is provided by our keg distributor. I’m encasing it in a “Custom HMTL” widget. When I test it, I get the third party logo and then the text of a snippet of code, but no map (I’ve tried the code in online testing sandboxes and it works). Is this javascript not allowed in WordPress?

    <div id=”locations_map”><div id=”panel”></div><div id=”on_tap”></div><div id=”kegshoe”>Powered by Kegshoe</div></div>https://maps.googleapis.com/maps/api/js?key=AIzaSyBQ0mOACJQBTW6rKOJVwv5gJbT0R7Apgog&extension=.jshttps://kegshoe.ca/js/on-tap-map.min.js

  • Ha! It loaded the image. Maybe if I put quotes around the entire code:


    <div id=”locations_map”><div id=”panel”></div><div id=”on_tap”></div><div id=”kegshoe”>Powered by Kegshoe</div></div>https://maps.googleapis.com/maps/api/js?key=AIzaSyBQ0mOACJQBTW6rKOJVwv5gJbT0R7Apgog&extension=.jshttps://kegshoe.ca/js/on-tap-map.min.js

  • You can’t use that code on the wordpress.com platform unless you upgrade to the Business Plan.

  • Hi there!

    I’m not seeing any WordPress.com sites on this account. Can you confirm the address of your site in case the site is under a different account?

  • The topic ‘Third Party Javascript Widget’ is closed to new replies.