I grew tired of using Twitter widget plugins that didn’t work, so I created a simple one of my own. It doesn’t have any options on the WordPress back end, but you would need to follow these steps to make it work:
- Visit https://twitter.com/settings/widgets and create your Twitter Widget.
- Copy the code that it gives you, which should look something like the example below.
- Open the plugin file:
simple-twitter-widget.php
in any text editor and replace my Twitter widget code (on lines 42-43) with your own.
I know having to edit the plugin code can be intimidating if you’re not technical, but you really just need to do a find/replace and swap this:
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/wp_shaun" data-widget-id="310167306028326913">Tweets by @wp_shaun</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>
…with the code you get from Twitter.
Anyway, if you want to use it you can find it on GitHub and download it here.