Title: Short Code for Multiple usernames
Last modified: November 27, 2017

---

# Short Code for Multiple usernames

 *  Resolved [venkat219](https://wordpress.org/support/users/venkat219/)
 * (@venkat219)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/short-code-for-multiple-usernames/)
 * This is one of the great plugin, but I couldn’t find a way to display multiple
   usernames dynamically. Like
    [TWTR id=instagram] would display the instagram 
   tweets. If there is a paid option for this kind of functionality then let me 
   know asap.

Viewing 1 replies (of 1 total)

 *  Thread Starter [venkat219](https://wordpress.org/support/users/venkat219/)
 * (@venkat219)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/short-code-for-multiple-usernames/#post-9723945)
 * I have tried something like this
 *     ```
       In, twitter-tweets_shortcode.php
   
       add_shortcode("TWTR", "twitter_tweet_shortcode");
       function twitter_tweet_shortcode($atts) {
       	ob_start();
       	$twitterSettings = unserialize(get_option("ali_twitter_shortcode"));  
               $TwitterUserName = $atts;
       	$Theme = "light";
       	if (isset($twitterSettings[ 'Theme' ] ) ) {
       		$Theme = $twitterSettings[ 'Theme' ];
       	}
   
       ---rest of the code
       ```
   
 * in page used shortcode like this
    `[TWTR atts=Instagram]`
 * which gave me tweet results with username [@array](https://wordpress.org/support/users/array/).
   Since the output is array ?

Viewing 1 replies (of 1 total)

The topic ‘Short Code for Multiple usernames’ is closed to new replies.

 * ![](https://ps.w.org/twitter-tweets/assets/icon-256x256.png?rev=2401301)
 * [Customize Feeds for Twitter](https://wordpress.org/plugins/twitter-tweets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/twitter-tweets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/twitter-tweets/)
 * [Active Topics](https://wordpress.org/support/plugin/twitter-tweets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/twitter-tweets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/twitter-tweets/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 1 reply
 * 1 participant
 * Last reply from: [venkat219](https://wordpress.org/support/users/venkat219/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/short-code-for-multiple-usernames/#post-9723945)
 * Status: resolved