Influenster Badge/Text Widget
-
i`m trying to apply a influenster text widget under the text option but half of the code disappears when i click save.
Here is the code:
<div id=”influenster-widget-container”></div>
<script>
function showInfluensterWidget(data){
document.getElementById(‘influenster-widget-container’).innerHTML = data.widget_html;
}
</script>
<script type=”text/javascript” src=”http://widget.influenster.com/widget/fb9b9ba62ab7eb3160957178c7698371?callback=showInfluensterWidget”></script>but for some reason after clicking save this part
</script>
<script type=”text/javascript” src=”http://widget.influenster.com/widget/fb9b9ba62ab7eb3160957178c7698371?callback=showInfluensterWidget”></script>disappears and of course the badge doesn`t appear on my blog.
Is this a wordpress issue or a Influenster code issue?
The blog I need help with is: (visible only to logged in users)
-
You can’t use javascript on a WP.com blog. But there’s no need to use javascript to display a badge anyway; they’re using that code to gather info about the people who view your blog, and it’s not necessary. Just copy the actual image you want to display and put it in a text widget.
-
But aren’t i doing just that by copying the code they are proving to me and putting it in the text widget?
or do you mean copying the image file, image tag, image location. find the image online and host it and then add it to the an image widget like the others i have on my website? i’m not sure i understand exactly what you mean, can you be more specific, please.
-
Yes, the latter. Find the actual picture they want you to display. Get a copy of it somehow in jpg or png or some other file format we can upload here as an image. Then just upload it and include a link back to them.
They are not giving you the image file. They are giving you javascript instead, which is stripped out by our security software. You cannot use that.
-
-
- The topic ‘Influenster Badge/Text Widget’ is closed to new replies.