WordPress.org

Forums

Rotating Tweets (Twitter widget and shortcode)
[resolved] Show multiple tweets at a time (7 posts)

  1. thedavidgrimes
    Member
    Posted 2 years ago #

    I'd really love to be able to show more than one tweet at a time, is there a quick change to the php that can be done so that it returns, say, three? Thanks in advance!

    http://wordpress.org/extend/plugins/rotatingtweets/

  2. Martin Tod
    Member
    Plugin Author

    Posted 2 years ago #

    I'm afraid there's not currently. It would need a rewrite of the JavaScript from scratch...

  3. plankguy
    Member
    Posted 2 years ago #

    If you use shortcode you can:

    <?php echo do_shortcode("[rotatingtweets tweet_count=3 no_rotate=true]"); ?>

    Or, i've actually called the shortcode function directly...

    <?php
    echo rotatingtweets_display_shortcode(array(
    	'tweet_count' => 5, // Change to how many you want
    	'no_rotate' => TRUE // stop rotating
    ));
    ?>

    UPDATE: I just realized you want to rotate 3 at a time... this will just show 3, and not rotate...

  4. thedavidgrimes
    Member
    Posted 2 years ago #

    This is closer! Actually I don't mind if they don't rotate! Using this basic concept, what parameters should I set to make sure that I am calling from my own twitter feed and styling using the twitter guidelines?

    Thanks a lot Plankguy!

  5. thedavidgrimes
    Member
    Posted 2 years ago #

    Disregard, I got it working. Really appreciate the help guys!

  6. Martin Tod
    Member
    Plugin Author

    Posted 2 years ago #

    Apologies. I didn't realise you were happy for them not to rotate! :-)

    I will look to do some code that doesn't bother to load the JavaScript in this situation.

    Martin

  7. deOnore
    Member
    Posted 2 years ago #

    2 Martin
    If you are able to do this, please add this features (rotate many twitts) to plug in
    thnx

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

Tags

No tags yet.