Twitter widget not loading
-
I don’t like the look of the Twitter widget on WordPress and want to use the one from twitter.com. When I do, the title shows up fine but the rest is just HTML gibberish and doesn’t load properly. I tested it on another website and it was fine. What gives?
This is what I’m working with:
Tweets by @gaaradams
<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> -
Hi there, since JavaScript code can’t be pasted into WordPress.com sites, that code won’t work on your site. You can learn more here about the types of code allowed on WordPress.com.
It’s possible to make certain CSS customizations to the Twitter widget with the Custom Design upgrade, so if you have that upgrade on the site in question and let me know what you’d like to do in terms of customizations, I’d be glad to help.
- The topic ‘Twitter widget not loading’ is closed to new replies.