Categories

Category Specific RSS

Display external RSS feeds in WordPress

 

<?php require_once (ABSPATH . WPINC . ‘/rss-functions.php’); // here’s where to insert the feed address $rss = @fetch_rss(‘<a href="http://www.getphp.net/feed/" rel="nofollow">http://www.getphp.net/feed/</a>’); if ( isset($rss->items) && 0 != count($rss->items) ) { ?> <?php // here’s (5) where to set the number of headlines $rss->items = array_slice($rss->items, 0, 30); foreach ($rss->items as $item ) { ?>           <li> […]

FacebookTwitterGoogle+PinterestTumblrStumbleUponRedditLinkedInBaiduApp.netBufferDeliciousDiggDiigoWordPressBlogger PostEmailPrintFriendlyShare