Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
RT(

Rotating Tweets (Twitter widget and shortcode)

v1.9.10
by Martin Tod · 4.8 (64 reviews)

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

9K+ active installs Updated Mar 25, 2024 Tested to 6.4.4 Requires PHP 5.2.4
Try Demo Download
Pre-installed Ready in ~10s No card

About Rotating Tweets (Twitter widget and shortcode)

This plugin replaces a shortcode or widget with a rotating display of your most recent tweets. It supports the new longer tweet format and 280 characters, and is space-efficient, reliable, customizable, and responsive. It also supports multiple languages and is compatible with W3 Total Cache.

Changelog

1.9.10

  • [Bugfix] Remove “Trying to access array offset on value of type bool / null” error

1.9.9

  • [Security Update] Adds rel='noopener' to _blank links

1.9.8

  • Fixes problem with Twitter intents for users with a high number user ID

1.9.7

  • Fixes display bug where a Tweet contains two copies of the same URL.

1.9.6

  • Twitter JavaScript only loads if Follow button is set to be displayed and the user has not set ‘Do Not Track’.

1.9.5

  • Fixed compatibility with Brilliance Pro template

1.9.4

  • Fixed compatibility bug with PHP 7.2

1.9.3

  • Fixed compatibility bug with pre-4.0 versions of WordPress

1.9.2

  • New shortcode option: auto_height=0 – to switch off height calculation

1.9.1

  • Improved support for SSL

1.9

1.8.7

  • Switches off Twitter JavaScript if ‘Do Not Track’ is enabled.
  • Fix minor bug with Selective Refresh.

1.8.6

  • Fixing minor bug in German translation.
  • Removing “Undefined variable” notice on line 165

1.8.5

  • Add shortcode for a large Twitter ‘follow’ button
  • Support for PHP7
  • Support for ‘Selective Refresh’
  • Ensuring show_media display links respects links_in_new_window variable.

1.8.4

  • Updated JavaScript for plug-ins and themes with their own JQuery Cycle2 installations

1.8.3

  • Fixed ‘Invalid argument’ bug when combining tweets from different accounts
  • Allow up to 60 tweets
  • Deletion of Italian .mo file – since now available as a WordPress-hosted translation pack

1.8.2

  • Fixed ‘Undefined variable’ bug in line 648

1.8.1

  • Fixed “no updating” caching bug

1.8

  • Better handling of multiple screen names in a single widget or shortcode
  • Addition of new option to hide CSS
  • Updated Twitter JavaScript
  • Translated the base readme file into US English
  • Handled bug with UTF8MB4 text encoding
  • Tidier date management code with better error handling
  • Made links in the readme.txt language independent

1.7.18

  • Reinstalling translation packs. Turns out that incomplete packs aren’t loaded – which breaks some of the available translations.

1.7.17

1.7.16

  • Fixed undefined variable error for show_media in WP_DEBUG mode
  • Fix for caching bug

1.7.15

  • Fixing bug on displaying meta content
  • Enabling sorting of display elements via rtw_display_order shortcode

1.7.14

1.7.13

  • Adds profile_image_size, shuffle and merge_cache shortcode variables
  • Lowers chance of clashes with other installations of cycle2 – by defaulting autoSelector to .rotatingtweets instead of .cycle-slideshow
  • Handles old versions of jQuery that don’t fully support .data() better
  • Fixes bug with merge functionality
  • Fixes bug with admin page JavaScript (thanks to this very helpful article on StackExchange.com)

1.7.12

  • Updated version 2 of JavaScript – updated jQuery.cycle2 and removal of bug
  • Fixing height bug
  • Fixing Carousel defaults
  • Updating .pot file

1.7.11

  • Completion of Spanish translation – many thanks to Alberto Lario for his help on this
  • Fixing tweet height JavaScript bug
  • CSS tidying for TwentyFifteen template
  • Experimental function combining historical and current tweets

1.7.10

  • Move to using HTML5 custom data attributes and data() functions to transfer variable values to version 1 of JavaScript – including ‘speed’ variable
  • Addition of ‘pager’ via show_meta_pager and show_meta_pager_blob variables
  • Addition of rtw_hashtag_link class to hashtag links
  • timeout=0 now allows continuous scrolling
  • Updating object code for the widget

1.7.9

  • Fixing Tweet timezone display problem
  • Restoring Tweet time display by default for ‘Official Twitter Guidelines (wide)’
  • Extra CSS added to enable people to hide links (should they want to)
  • Option to switch off JavaScript (for advanced users only)

1.7.8

  • Solves bug when Base64 tries to decode an array

1.7.7

  • Better handling transients on transition from old version to new

1.7.6

  • Addition of Italian language
  • Fixes transient-based caching – many thanks to to jensnilsson and Moondrop for highlighting the solution here.

1.7.5

  • Much faster and more reliable caching.
  • Compatibility with W3 Total Cache.
  • New scrollLeftGap transition
  • Ability to put ‘prev’ and ‘next’ buttons before and after the main rotating tweets

1.7.4

  • Ensures all images use https:// link for compatibility with SSL-secured sites

1.7.3

  • Adds show_tco_link shortcode variable to allow people to show t.co.links.
  • Support for Newswire template
  • Restores the caching of Tweet co-ordinates

1.7.2

  • Switches off JavaScript expansion of ‘expand’ to ‘reply retweet favorite’ for carousel rotation.
  • Adds new insidebottom option for np_pos shortcode variable

1.7.1

  • Improved CSS support for horizontal carousel scrolling

1.7.0

  • Adding offset, speed, tweet_length, no_emoji and show_media options to the shortcode
  • Solves clash with Cyclone Slider 2
  • Adds script version details to the JavaScript
  • Removal of excess spaces from middot shortcode option
  • Adds option for ‘custom’ display layout with user-defined display function rotatingtweets_display_override()

1.6.11

  • Fixing cache bug with ‘user_mentions’

1.6.10

  • New code to shrink size of cache by about 70%

1.6.9

  • Bug fix.

1.6.8

  • Shrinking cache size to reduce memory problems.
  • Improved diagnostics.
  • Clarified instructions.

1.6.7

  • Fix next/prev buttons for v. 2 of Javascript.
  • Add next/prev np_pos='tweets' option to documentation.
  • Fix bug on admin page when WP_DEBUG is set.

1.6.6

  • Corrected the 16×16 icon to the latest Twitter logo.

1.6.5

  • Language update including new Serbian translation. Solved an unusual styling problem.

1.6.4

  • Bug fix when user name not recognized.

1.6.3

  • Add option to shorten default link length to 20 characters
  • Language update including new German translation from Nils Kroneberg
  • Updated Brazilian Portuguese translation from Wilmerson Felipe

1.6.2

  • Fixing bug for PHP installations that don’t support the ‘u’ modifier
  • Renaming v2 JavaScript to avoid clash with other plug-ins.
  • Extra diagnostics put in to solve regular expression problem

1.6.1

  • Move to a more unique class name to avoid clashes with another template.

1.6.0

  • New support for reading from multiple accounts
  • Improved clean-up on uninstallation or deactivation
  • Addition of settings page option for timeout of connection to Twitter
  • Addition of settings page option for placement of JavaScript at the bottom of the page
  • Addition of settings page option for duration of cache
  • Fixed problem with hashtags and accents
  • Improved error messages for connection problems
  • Tidying up settings page text

1.5.1

  • Enforce rules on replies and retweets even if the Twitter API doesn’t
  • Fixed problem with Magazino template
  • Fixed incorrect message on settings page

1.5.0

  • Added Carousel rotation option and beta support for version 2 of JQuery Cycle
  • Added link_all_text shortcode tag and functionality
  • Added richer debug information
  • Corrected API expiry date
  • Added missing alt tag
  • Kept CSS permanently in the header to maintain HTML capability
  • Public facing Dutch translation complete – many thanks to Natasja Weijer for her help on this
  • Attempt to fix clash with Avada and Gleam themes

1.4.7

  • HTML5 compliance
  • Improved rate-limiting

1.4.6

  • Addition of Brazilian Portuguese translation
  • Addition of new display format 6

1.4.5

  • Deletes old cache entries if unused for more than 30 days
  • Fixes a jQuery cycle clash with the Oxygen theme.
  • Added readme.txt instructions for dealing with the WordPress error code: http_request_failed - name lookup timed out.

1.4.4

  • Adds an option to switch off verification of SSL connections to Twitter
  • Adds a short code option (no_rotate) to switch off rotation

1.4.3

  • Removes two lines of CSS causing formatting problems
  • Improves responsiveness going from narrow to wider layouts

1.4.2

  • Corrected minor error with resizing of .rtw_meta div

1.4.1

1.4.0

  • Support for search, favorites and lists via Rotating Tweets widgets.

1.3.18

  • Improved and clearer error messages.
  • Removed search bug.
  • ‘Next’ and ‘Prev’ buttons for shortcodes.

1.3.17

  • Adds the opportunity to show lists.
  • Tackles a very odd box height problem that has just appeared in Chrome (but not Firefox or IE).

1.3.16

  • Making sure hashtags have a space or the start of a line before them.
  • Tidying up errors found when running plug-in with wp_debug set to true

1.3.15

  • Minor correction to hashtag code

1.3.14

  • Fixes accents in hashtags (hopefully).
  • Adds beta of search to the shortcode API.
  • Adds new format of Tweet display.

1.3.13

  • Strips @ from screen names to avoid API problems.

1.3.12

  • Removes accents from screen names (and otherwise cleans them up).
  • Add test option (currently for shortcodes only) to access favorites.
  • Solves clash between PECL OAuth library and the Rotating Tweets OAuth library.

1.3.11

  • Supports cyrillic hashtags!

1.3.10

  • Fixed hashtag links

1.3.9

0.712 (1.3.8)

  • Fixed bug with console.log javascript on IE.

0.711 (1.3.7)

  • Fixed up a significant problem with caching.

0.709 (1.3.6)

  • Tidying up error reporting.

0.707 (1.3.5)

  • Fixes major bug resulting from upgrade to handle Twitter API v 1.1

0.706 (1.3.4)

  • Change to JavaScript to improve width handling for tweets.

0.703 (1.3.3)

  • Minor code tidying to improve debugging and increase speed!

0.702 (1.3.2)

  • Adjustment to javascript and CSS to cope with long links or long words

0.701 (1.3.1)

  • Very minor mistake in rendering code

0.700 (1.3.0)

  • Important upgrade needed for Rotating Tweets to keep working after March 2013. Supports version 1.1 of the Twitter API.

0.625 (1.2.4)

  • Enabled users to make all links open in a new tab or window

0.623 (1.2.3)

  • Fixed a problem where a short name fitted inside a long one – e.g. @rotary and @rotarycrocus

0.622 (1.2.2)

  • Escaped title tags

0.621 (1.2.1)

  • Fixed timezone problem.

0.620 (1.2.0)

  • Added option to show links in a new window
  • Fix problem with selection of 20 second rotating speed.

0.613 (1.1.6)

  • Fixed instructions in plug-ins list.

0.612 (1.1.5)

  • Fixed error message caused by last fix causing tweets to repeat.

0.611 (1.1.4)

  • Finally ran with debug and removed all the error messages.

0.610 (1.1.3)

  • Starts to add options to allow for different length URLs

0.602 (1.1.2)

  • Fixes bug with Javascript

0.601 (1.1.1)

  • Fixes problem with stylesheet

0.600 (1.1.0)

*Now includes options consistent with Twitter display options
* Tidied up code.

0.505 (1.0.0)

  • Minimized Javascript.
  • Set-up for I18n.

0.502 (0.4.1)

  • Javascript fix for zero height tweets problem

0.500 (0.4.0)

  • Adds options for how tweet information is displayed and how the tweet rotates.

0.492 (0.3.1)

  • Solves Cannot use string offset as an array error on line 232

0.491 (0.3.0)

  • Lets you customize the Twitter ‘follow’ button.
  • Fixes problem with media links.
  • Sorts problem of overlong links reshaping widgets.

0.48 (0.2.6)

  • More detailed error messages for WordPress installations unable to access Twitter.
  • Fixes problem on the zeeBizzCard template and sets up fix for other templates that use their own install of the jquery-cycle javascript.

0.471 (0.2.5)

  • Making sure that cache never gets overwritten unless new, valid twitter data has been downloaded.
  • Dealing with the problem that someone in a long conversation may not get enough valid tweets to show by asking for only 20 tweets from Twitter.

0.46 (0.2.4)

  • Properly handles rate-limiting by Twitter

0.44 (0.2.3)

  • Removes follow button if Twitter has returned an empty value

0.43 (0.2.2)

  • Improved error checking if Twitter has returned an empty value

0.42 (0.2.1)

  • Fixed major bug causing crashes when Twitter goes down

0.40 (0.2.0)

  • Added ability to alter speed of rotation

0.30 (0.1.8)

  • Fixes bug – problem with get_object_vars() on line 193

0.29 (0.1.7)

  • Better handling of retweets. No longer cuts off the end of the text on longer RTs.

0.28 (0.1.6)

  • Properly fixes flaw in how flags are handled.

0.27 (0.1.5)

  • Fixed flaw in how flags are handled.

0.26 (0.1.4)

  • Stops display and caching of non-existent twitter feeds

0.25 (0.1.3)

  • Stops display and caching of faulty twitter feeds

0.21 (0.1.2)

  • Replaced a missing </div> in the follow-button code (with thanks to jacobp for spotting it and suggesting a fix)

0.2 (0.1.1)

  • Fixed a problem with caching

0.1 (0.1.0)

  • First published version

Try other plugins

Really Simple SSL icon

Really Simple SSL

4.9 · 4M+ installs

The easiest way to improve security! Leverage your SSL certificate and protect your website visitors.