Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bbPress 1.0-alpha-4 released

tomwi – Two easy options.

1) Use the build in RSS sidebar widget in wordpress.

2) Add the PHP Widget plugin and then toss in something like this:

<?php require_once (ABSPATH . WPINC . '/rss-functions.php');
$today = current_time('mysql', 1);
// insert the feed URL here
$rss = @fetch_rss('http://domain.net/forums/rss');
if ( isset($rss->items) && 0 != count($rss->items) ) {
echo '<ul>';
// set the number of items from the feed to display (5)
$rss->items = array_slice($rss->items, 0, 5);
foreach ($rss->items as $item ) {
echo '<li><a href="';
echo wp_filter_kses($item['link']);
echo '">';
echo wp_specialchars($item['title']);
echo '</a></li>';
}
echo '</ul>';
}; ?>

Skip to toolbar