Title: Multi search in shortcode
Last modified: August 24, 2016

---

# Multi search in shortcode

 *  Resolved [rahyrs](https://wordpress.org/support/users/rahyrs/)
 * (@rahyrs)
 * [11 years ago](https://wordpress.org/support/topic/multi-search-in-shortcode/)
 * Hi Martin,
 * How to use multi search and multi screenname in the shortcode?
    You pointed to
   Twitter’s help but they don’t work in the RTW shortcode.
 * Thank you.
 * [https://wordpress.org/plugins/rotatingtweets/](https://wordpress.org/plugins/rotatingtweets/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [11 years ago](https://wordpress.org/support/topic/multi-search-in-shortcode/#post-6129334)
 * What happens if you put several screennames in the `screen_name` variable, eg:
 *     ```
       [rotatingtweets screen_name="mpntod twitter"]
       ```
   
 * Martin
 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [11 years ago](https://wordpress.org/support/topic/multi-search-in-shortcode/#post-6129384)
 * Did this work?
 *  Thread Starter [rahyrs](https://wordpress.org/support/users/rahyrs/)
 * (@rahyrs)
 * [11 years ago](https://wordpress.org/support/topic/multi-search-in-shortcode/#post-6129388)
 * the display says “Problem retrieving data from Twitter”.
 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [11 years ago](https://wordpress.org/support/topic/multi-search-in-shortcode/#post-6129393)
 * That normally means it’s not finding anything in the search. Can you post your
   exact shortcode so that I can test it on my machine?
 *  Thread Starter [rahyrs](https://wordpress.org/support/users/rahyrs/)
 * (@rahyrs)
 * [11 years ago](https://wordpress.org/support/topic/multi-search-in-shortcode/#post-6129394)
 * Here it is:
 *     ```
       echo do_shortcode( "[rotatingtweets screen_name='loca_id integriaworld' official_format='2' rotation_type='carousel' carousel_horizontal=1 carousel_count=3 carousel_responsive=1 show_meta_reply_retweet_favorite='0' tweet_length='0' show_meta_prev_next='1' np_pos='tweets' prev='<img src=\"http://integria.co.id/webhome/wp-content/themes/zerif-lite/images/left-arrow.png\">' next='<img src=\"http://integria.co.id/webhome/wp-content/themes/zerif-lite/images/right-arrow.png\">' tweet_count='20' show_tco_link ='0' links_in_new_window ='1' official_format_override ='1' show_meta_timestamp ='1' show_meta_screen_name ='0' show_meta_via ='0']" );
       ```
   
 * When the search exist, the tweets are from the search, not from screen name. 
   When screen_name exist, only one name can occur.
 *  Plugin Author [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * (@mpntod)
 * [11 years ago](https://wordpress.org/support/topic/multi-search-in-shortcode/#post-6129397)
 * The Twitter API search function doesn’t look very far back in time and so has
   problems with accounts that tweet very rarely such as these two.
 * You’ll probably be better off to set up a Twitter list with these two accounts
   in it – and follow that instead.
 * Something like:
 *     ```
       [rotatingtweets screen_name='loca_id' list='combined-list']
       ```
   
 * where `loca_id` and `integriaworld` are the two members of the list.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Multi search in shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/rotatingtweets.svg)
 * [Rotating Tweets (Twitter widget and shortcode)](https://wordpress.org/plugins/rotatingtweets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rotatingtweets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rotatingtweets/)
 * [Active Topics](https://wordpress.org/support/plugin/rotatingtweets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rotatingtweets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rotatingtweets/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Martin Tod](https://wordpress.org/support/users/mpntod/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/multi-search-in-shortcode/#post-6129397)
 * Status: resolved