Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Rotating Tweets (Twitter widget and shortcode)

Twitter widget and shortcode to show your latest tweets one at a time an animated rotation

What options can I use for the shortcode?

All the options are listed on the Rotating Tweets installation page.

How can I include Rotating Tweets in my template?

Try something like:

<?php echo do_shortcode( "[rotatingtweets screen_name='your_twitter']" ) ?>

A common mistake with do_shortcode shortcodes is to use single-quotes or double-quotes all the way through without 'escaping' them. This will normally break your site! It's best to use double-quotes to enclose the shortcode string and single-quotes inside the shortcode string (or vice-versa!).

How can I pull information from two accounts into one widget

The easiest way is to list more than one account in the 'Twitter name' box in the widget or use something like screen_name='account1 account2' in the shortcode.

How often does the plug-in call Twitter

In most cases, each use (or "instance") of this plug-in gets data from Twitter every 2 minutes. The exception is when two or more instances share the same settings (screen name etc.), in which case they share the same data rather than each calling it separately.

My Rotating Tweets are not updating. What can I do?

This normally happens if there is an SSL problem. Try going to the settings page and switching off SSL validation.

If this doesn't solve the problem, check your Twitter API key settings.

If neither of these approaches work, Rotating Tweets will normally be reporting the error as a comment in the HTML of your page. This should give you an idea of how to solve the problem.

The Rotating Tweets are not rotating. What can I do?

This normally happens if there is more than one copy of jQuery installed on a page - or more than one copy of jQuery.cycle.

To see if this is the case, search the HTML on your website to see if either script is called more than once. To do this:

  1. Open the page.
  2. Right click and select 'View Page Source' or 'View Source'
  3. Hit [CTRL]+F and search for jquery
  4. Look out for lines that contain jquery.min.js or jquery.cycle.all.min.js. Neither script should appear more than once.

The problem is that the second (or third) copy of the script overwrites all previous versions and the scripts that go with them. This is particularly likely to happen with old templates or plug-ins.

If this is the case:

  1. Check is that you have upgraded your template or your plug-in to the latest version.
  2. If this still doesn't work, please let me know which plug-in or template is causing the problem and I'll see if I can build a fix into the next version of Rotating Tweets.

If there is only one copy of jquery and of jquery.cycle on your page, the best way to look for the problem is to open the 'console'. To do this:

  1. Press [F12] (in Chrome or IE) or [CTRL]+[SHIFT]+K (in Firefox)
  2. Load the page where you have a problem
  3. In Chrome or IE, select the tab marked 'console'.
  4. Read the diagnostics and look for any problems that relate to JavaScript. This will normally tell you which JavaScript (if any) is having problems.

What can I do if I get the WordPress error code: `http_request_failed - name lookup timed out`?

Try installing the Core Control plug-in and disabling cURL. You can read more about the problem via this support page.

Thank you to darkiko for sharing their solution to this problem.

My widget is too wide!

Try putting:

div.widget_rotatingtweets_widget, div.rotatingtweet, div.widget_rotatingtweets_widget div.widget-title {
    max-width: 123px;

into your CSS - changing 123px; to the width you're aiming at - either via putting rotatingtweets.css into wp-content/uploads or by editing your own template files.

How can I add a Twitter bird to the left of my tweets?

You can do this by going to the rotatingtweets/css directory and renaming rotatingtweets-sample.css to rotatingtweets.css and putting it in the wp-content/uploads/ directory. This displays a Twitter bird to the left of your tweets. Any CSS you put into rotatingtweets.css won't be overwritten when the plug-in is upgraded to the latest version.

Requires: 3.2 or higher
Compatible up to: 4.7.1
Last Updated: 1 month ago
Active Installs: 30,000+


4.9 out of 5 stars


9 of 12 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,2,2 100,1,1
100,1,1 100,3,3
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,3,3 100,1,1 100,2,2 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2
100,1,1 100,1,1
100,2,2 100,1,1
100,1,1 100,1,1
100,1,1 100,3,3 100,1,1
100,1,1 100,2,2 100,1,1
100,1,1 100,1,1