External Javascript not working in new Theme but Works in other Themes
-
I migrated an old site to a new one with most current version of WordPress and a new Theme.
On a couple of pages there were links to an external Javascript (pasted below).
This external script displays fine in other themes (like Twenty Sixteen) but not in the theme I have chosen to use for this site (Flymag, free version). It also works fine on the old site.
How can I either get the theme to accept this external script or work around this for certain pages?
SCRIPT:
<script type="text/javascript" src="https://public.tableausoftware.com/javascripts/api/viz_v1.js"></script><div id="tableau_hide_this"style="width:904px; height:569px;"></div><object class="tableauViz" width="904" height="569" style="display:none;"><param name="host_url" value="http%3A%2F%2Fpublic.tableausoftware.com%2F" /><param name="name" value="MAFCValue-Wisconsin/Sheet1" /><param name="tabs" value="no" /><param name="toolbar" value="yes" /><param name="animate_transition" value="yes" /><param name="display_static_image" value="yes" /><param name="display_spinner" value="yes" /><param name="display_overlay" value="yes" /></object><noscript>Value of Transported Goods, by State (millions) <br /><a href="#"><img alt="Value of Transported Goods, by State (millions) " src="http://public.tableausoftware.com/static/images/MA/MAFCValue-Wisconsin/Sheet1/1_rss.png" height="100%" /></a></noscript>
The page I need help with: [log in to see the link]
- The topic ‘External Javascript not working in new Theme but Works in other Themes’ is closed to new replies.