Adding ClustRMap using Text widget – I'm doing something wrong
-
Trying to add a ClustRMap by pasting html into Text widget, but it only displays the html code on my blog and not the map image. I’ve tried to follow the instructions to the letter.
The blog I need help with is: (visible only to logged in users)
-
-
<div id=”clustrmaps-widget”></div><script type=”text/javascript”>var _clustrmaps = {‘url’ : ‘thepazeras.wordpress.com’, ‘user’ : 1161494, ‘server’ : ‘4’, ‘id’ : ‘clustrmaps-widget’, ‘version’ : 1, ‘date’ : ‘2015-03-14’, ‘lang’ : ‘en’, ‘corners’ : ‘square’ };(function (){ var s = document.createElement(‘script’); s.type = ‘text/javascript’; s.async = true; s.src = ‘http://www4.clustrmaps.com/counter/map.js’; var x = document.getElementsByTagName(‘script’)[0]; x.parentNode.insertBefore(s, x);})();</script><noscript><img src=”http://www4.clustrmaps.com/stats/maps-no_clusters/thepazeras.wordpress.com-thumb.jpg” alt=”Locations of visitors to this page” /></noscript>
-
That’s javascript, and will be stripped out here for security reasons. Do they not offer an HTML-only version? They used to.
-
Hi – ClustrMaps Team here – yes, we certainly have an HTML-only version, and that’s what thepazeras need to use (it’s ‘Option B’ when you select the HTML on your admin page). This is also described on our WordPress.com-specific instructions at blog.clustrmaps.com/html-setup
There are related issues about using https which is now the norm at WordPress, described at http://blog.clustrmaps.com/2014/12/12/solution-to-map-problems-on-wordpress-com/
Hope that does the trick for you!
- The topic ‘Adding ClustRMap using Text widget – I'm doing something wrong’ is closed to new replies.