Rotating Tweets (Twitter widget and shortcode)
[resolved] Speed of the text moving (3 posts)

  1. socsolu
    Posted 2 years ago #

    I'm using the plugin via the PHP method, but I'm wondering if it's possible to alter the speed that the new tweet moves across the screen.

    I'm aware of how to alter the delay between new tweets rotating, but I'd like to be able to slow the speed down of the new tweet moving.

    Anyone done this that can share?

    Many thanks,



  2. Martin Tod
    Plugin Author

    Posted 2 years ago #

    If you're set to use version 2 of the JavaScript on your Rotating Tweets settings page, then in line 1279 of rotatingweets.php change

    'speed' => 1000,


    'speed' => 2000,

    and it will cycle half as fast between slides.

    I've dropped it in as an option (e.g. speed='1000') for shortcodes in the development version as well - and this also requires you to use version 2 of the JavaScript.

    With the development version installed, you can use change the speed via PHP either via something like:

    <?php rotatingtweets_display( array( 'screen_name' => 'your_twitter', 'speed' => '2000')); ?>


    <?php echo do_shortcode( "[rotatingtweets screen_name='your_twitter' speed='2000']" ) ?>
  3. socsolu
    Posted 2 years ago #

    Awesome, Martin!

    Thank you, that's exactly what I was looking for. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Rotating Tweets (Twitter widget and shortcode)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.