Support » Plugin: Twitget » Adding Twitget in footer

  • Resolved gulpone

    (@gulpone)


    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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bostjan Cigan

    (@zerocool51)

    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!

    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!

    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. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding Twitget in footer’ is closed to new replies.