Title: calling widget through PHP?
Last modified: August 20, 2016

---

# calling widget through PHP?

 *  [yonisink](https://wordpress.org/support/users/yonisink/)
 * (@yonisink)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/calling-widget-through-php/)
 * Hey hey
    Is there a way to call the widget from PHP? something like <? hl_twitter_widget()?
   > or something similar? I want to include it that way rather than widgetizing
   a part of my theme. Thanks much!

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

 *  Plugin Author [Dachande663](https://wordpress.org/support/users/dachande663/)
 * (@dachande663)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/calling-widget-through-php/#post-2228097)
 * Yes, call the function hl_twitter_display_widget(). You can find it’s definition
   in functions.php.
 *  Thread Starter [yonisink](https://wordpress.org/support/users/yonisink/)
 * (@yonisink)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/calling-widget-through-php/#post-2228101)
 * Dachadne,
    Thanks for the quick reply! I’m not getting it to work – I have added
   successfully 10 users to my backend (all the info/avatars are displaying) but
   when I call this, I only see “There are no recent tweets” even though they’ve
   all tweeted within the last 24 hours. I apologize if I’m mistaken; doesn’t the
   widget show, on the frontend, a stream of latest tweets from all these people?
   Thanks!
 *  Plugin Author [Dachande663](https://wordpress.org/support/users/dachande663/)
 * (@dachande663)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/calling-widget-through-php/#post-2228102)
 * Hi yonisink, can you confirm HL Twitter has actually imported any tweets? If 
   you go into the WordPress Admin and select HL Twitter you will see any tweets.
   If no tweets have been imported you may have been affected by a bug that stops
   HL Twitter importing new tweets on some servers, the FAQ will provide more help.
   [http://wordpress.org/extend/plugins/hl-twitter/faq/](http://wordpress.org/extend/plugins/hl-twitter/faq/)

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

The topic ‘calling widget through PHP?’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [Dachande663](https://wordpress.org/support/users/dachande663/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/calling-widget-through-php/#post-2228102)
 * Status: not resolved