WordPress.org

Ready to get started?Download WordPress

Forums

Twitget
[resolved] Adding Twitget in footer (4 posts)

  1. gulpone
    Member
    Posted 1 year ago #

    Hello,
    I´m trying to add the Twitget in my footer (not as a widget) but I could´t do it.

    I´m using the following code:

    <div class="footer-col">
          <div class="footer-widget">
            <h3>Ultimos Tweets</h3>
            <ul class="pages">
    	{$tweets_start}
    	<li>{$tweet_text}<br />{$tweet_time}</li>
    	{$tweets_end}
    	</ul>
          </div>
        </div>

    Do I have to include any library or script in the <head> ?

    Thank you!

    http://wordpress.org/extend/plugins/twitget/

  2. Boštjan Cigan
    Member
    Plugin Author

    Posted 1 year ago #

    To template your output, you use the custom template box in the settings. To output it, without using widgets you use the following PHP function:

    <?php show_recent_tweets(); ?>

    Cheers!

  3. kmai
    Member
    Posted 12 months ago #

    I have the custom template filled in with my desired code. However, when I try to call show_recent_tweets in a template file, it's returning undefined. Can you please let me know what might be causing this? Much appreciated!

  4. kmai
    Member
    Posted 12 months ago #

    Nevermind, I'm sorry! It was some sort of issue with localhost using an on-server database. The files couldn't communicate. Fixed now. Thanks for your hard work. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic