Text widget not displaying correctly – TwentyTen Theme
-
Hi,
I am trying to install a twitter feed text widget in my sidebar but it is just displaying the HTML rather than the widget, can anyobdy help please? What is displayed is below:Tweets by @WCCADMG
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?’http’:’https’;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+”://platform.twitter.com/widgets.js”;fjs.parentNode.insertBefore(js,fjs);}}(document,”script”,”twitter-wjs”);The code generated by Twitter is here:
<a href="https://twitter.com/WCCADMG">Tweets by @WCCADMG</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
Thanks in advance!
- The topic ‘Text widget not displaying correctly – TwentyTen Theme’ is closed to new replies.