I’m all for cutting down on the number of plugins used. They can really bloat your site. This is a nice tip from Smashing Magazine
Simply paste the following code anywhere in your theme files, where you want the tweets to be displayed. Don’t forget to update the code with your username on line 3. Max items to display can be defined on line 4.
get_item_quantity(3); $rss_items = $rss->get_items(0, $maxitems); ?>
// Loop through each feed item and display each item as a hyperlink.
foreach ( $rss_items as $item ) : ?>
- get_title(); ?>