Widget code not working
-
Could you please help me determine why, when adding a Text widget to my blog, the widget code I was given and pasted into the Text widget gets scrubbed of the javascript reference. Here’s the code I’m trying to paste:
<div id=”aFlag_Widget”><div id=”hf_alert”></div><div id=”aflag_link”>US Flag</div><script type=”text/javascript” src=”http://www.aflag.com/widget/flagJS.asp”></script></div>And here’s what WordPress does to it:
<div id=”aFlag_Widget”><div id=”hf_alert”></div><div id=”aflag_link”>US Flag</div>That just gives me a link. I don’t want JUST the link. Maybe Text isn’t the best widget to use, but no other one was logical either.
Blog url: http://alienanessa.wordpress.com/ -
- The topic ‘Widget code not working’ is closed to new replies.