Title: tweetscroll shortcode?
Last modified: August 21, 2016

---

# tweetscroll shortcode?

 *  Resolved [oscarsmac](https://wordpress.org/support/users/oscarsmac/)
 * (@oscarsmac)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/tweetscroll-shortcode/)
 * I have a client who has some hard-coded php in their site,
    and they would like
   to use your widget; is there a way to use this via shortcode perhaps? or is there
   a way I could add something to the php code to call your code and display the
   client’s tweets?
 * thanks in advance.
    robert meyer
 * [http://wordpress.org/plugins/tweetscroll-widget/](http://wordpress.org/plugins/tweetscroll-widget/)

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

 *  Plugin Author [Vladimir](https://wordpress.org/support/users/vmrkela/)
 * (@vmrkela)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/tweetscroll-shortcode/#post-4043370)
 * Hi,
    Update plugin to the latest version and install [this](http://wordpress.org/plugins/widget-shortcode/)
   plugin. It will allow you to create shortcode for any widget you have, as well
   for TweetScroll.
 *  Thread Starter [oscarsmac](https://wordpress.org/support/users/oscarsmac/)
 * (@oscarsmac)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/tweetscroll-shortcode/#post-4043466)
 * Vladimir:
 * thank you for your response.
 * I updated to the latest version of TweetScroll (1.2.2), and installed
    the Widget
   Shortcode plugin as you instructed.
 * I then navigated to the widgets page, and drug the TweetScroll
    item into the
   Arbitrary widget area. I filled in the information needed to access my client’s
   twitter account, and saved.
 * I can see the widget shortcode is displayed in the arbitrary widget
    area like
   this:
 * Shortcode: [widget id=”pi_tweet_scroll-2″]
 * I then added the code you suggested into the theme’s sidebar-primary.php
    file(
   which is where all my client’s custom code resides), like this:
 *  <div style=”border: 1px solid #aaaaaa”>
    <p>test area</p> <p><?php do_widget(
   array(‘id’ => ‘pi_tweet_scroll-2’, ‘title’ => false, ‘before_widget’ => ‘<div
   >’)); ?></p> <p>—</p> </div>
 * all I see when visiting the site is the border around the div I created,
    the
   words “test area” and the dashes (“—“).
 * no twitter information is being displayed..
 * any help would be appreciated.
 * thank you.
    robert meyer
 *  Thread Starter [oscarsmac](https://wordpress.org/support/users/oscarsmac/)
 * (@oscarsmac)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/tweetscroll-shortcode/#post-4043468)
 * I found it…
 * turns out I needed to do:
 * <?php echo do_widget()… ?>
 * everything’s working great.
 * thanks again for your help.
 * rm.
 *  Plugin Author [Vladimir](https://wordpress.org/support/users/vmrkela/)
 * (@vmrkela)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/tweetscroll-shortcode/#post-4043470)
 * Glad you solve it. I made few changes to make Widget shortcode compatible with
   TweetScroll so everything should be working fine.
 *  [kanagarathinam](https://wordpress.org/support/users/kanagarathinam/)
 * (@kanagarathinam)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/tweetscroll-shortcode/#post-4043642)
 * i’m using designova’s next theme tile design, in this theme there is no option
   for widget, how can i use this twitter scroll?
 *  Plugin Author [Pixel Industry](https://wordpress.org/support/users/pixel-industry/)
 * (@pixel-industry)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/tweetscroll-shortcode/#post-4043644)
 * Hi,
 * Please read in Documentation if there are any widget areas or contact author 
   for this. I didn’t use that theme and don’t know how it works.
 * Vladimir

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

The topic ‘tweetscroll shortcode?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/tweetscroll-widget_b8b8b8.svg)
 * [TweetScroll Widget](https://wordpress.org/plugins/tweetscroll-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tweetscroll-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tweetscroll-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/tweetscroll-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tweetscroll-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tweetscroll-widget/reviews/)

## Tags

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

 * 6 replies
 * 4 participants
 * Last reply from: [Pixel Industry](https://wordpress.org/support/users/pixel-industry/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/tweetscroll-shortcode/#post-4043644)
 * Status: resolved