WordPress.org

Ready to get started?Download WordPress

Forums

HL Twitter
calling widget through PHP? (4 posts)

  1. yonisink
    Member
    Posted 3 years ago #

    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!

  2. Dachande663
    Member
    Plugin Author

    Posted 3 years ago #

    Yes, call the function hl_twitter_display_widget(). You can find it's definition in functions.php.

  3. yonisink
    Member
    Posted 3 years ago #

    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!

  4. Dachande663
    Member
    Plugin Author

    Posted 3 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags