Collects Tweets based on specific Twitter usernames and hashtags and then adds them as posts
There are two ways to display Tweets on your blog.
Firstly, if you choose not to store your Tweets as post you can use the following template tag "tnf_get_news_as_array()" in your templates
<?php $tweets = tnf_get_news_as_array(); ?> <ul> <?php foreach($tweets as $tweet): ?> <li><?php echo $tweet["description_filtered"]." - ".date("l jS \of F Y - H:i:s"); ?></li> <?php endforeach; ?> </ul>
The available array elements are as follows:
The other option is to use WordPress to pull out posts from the category specified in the Twitter News Feed admin panel.
See http://codex.wordpress.org/Template_Tags/get_posts for examples.