skip to Main Content

Printing out feeds on your wordpress site


$rss = fetch_feed('');
$maxitems = $rss->get_item_quantity(5);
$rss_items = $rss->get_items(0, $maxitems);

<?php if ($maxitems == 0) echo '<li>No items.</li>';
// Loop through each feed item and display each item as a hyperlink.
foreach ( $rss_items as $item ) : ?>

<div class="sidebar-box widget_bp_groups_widget buddypress widget" id="bp_groups_widget-2">

<div class="sidebar-title">
<img src="" style="margin:0 auto;width:100%;" />
<cufon class="cufon cufon-canvas" alt="<?php echo $item->get_title();?>" style="width: 121px; height: 26px;"><canvas width="136" height="26" style="width: 136px; height: 26px; top: 0px; left: -1px;"></canvas><cufontext><?php echo $item->get_title();?></cufontext></cufon>

<div class="sidebar-box-child" />

echo $item->get_description(); ?>
endforeach; ?>




Editorial Staff at ETN Multimedia is led by Alphonse Tan. Page maintained by Alphonse Tan

Back To Top