Why won't my Twitter List code work on my site?
-
I can’t get my widget to work, I’m having problems after copying and pasting my code to display a ‘list’ from Twitter. Everytime I click publish, it just gives me a link to the list rather than displaying it on the page.
This is the code from Twitter that I copy and paste…
Tweets from @TheGradian/crewe-alexandra-players
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=”//platform.twitter.com/widgets.js”;fjs.parentNode.insertBefore(js,fjs);}}(document,”script”,”twitter-wjs”);</script>This is the code that appears when I paste it… Someone told me it’s stripping the script out?
Tweets from @TheGradian/crewe-alexandra-players
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=”//platform.twitter.com/widgets.js”;fjs.parentNode.insertBefore(js,fjs);}}(document,”script”,”twitter-wjs”);</script>I’d be grateful if anyone could help as it’s for my University dissertation!
Cheers.
The blog I need help with is: (visible only to logged in users)
-
Hi there – the code you’re trying to paste in includes JavaScript, which can’t be used on WordPress.com. More info here.
You could try the Twitter widget instead:
Just let us know if you need any help.
- The topic ‘Why won't my Twitter List code work on my site?’ is closed to new replies.
