| HOME | ABOUT | CONTACT ME | PRIVACY POLICY |
Subscribe To My Feed
|
There are several plug-ins available out there for this functionality, but if you are like me who is a bit lazy How To Display Other Blogs Feeds to Your WordPress Blog
<h2><?php _e('LifeGuide'); ?></h2>
<?php // Get RSS Feed(s)
include_once(ABSPATH . WPINC . '/rss.php');
$rss = fetch_rss('http://feeds.feedburner.com/EasyLifeGuide');
$maxitems = 3;
$items = array_slice($rss->items, 0, $maxitems);
?>
<ul>
<?php if (empty($items)) echo '<li>No items</li>';
else
foreach ( $items as $item ) : ?>
<li><a href='<?php echo $item['link']; ?>'
title='<?php echo $item['title']; ?>'>
<?php echo $item['title']; ?>
</a></li>
<?php endforeach; ?>
</ul>
Source(s): Wordpress Documentation
Comments:
2 Comments posted on "Wordpress Tips:How To Display Other Blog’s Feeds to Your WordPress Blog"
How To Display Other Blog’s Feeds to Your WordPress Blog - PinoyBlogoSphere.com - Pinoy Bloggers Society (PBS) on December 11th, 2007 at 1:33 am
[...] December techiegirl 11:02 amAdd comment10 Views You might want to apply this when you have several sites and you want to display your recent posts on each of your blogs. This could be beneficial since other people can see your recent posts from other blogs which they might get interested. Click here to continue reading… [...]
Powerfull Living » Blog Basics For Everyone on January 5th, 2008 at 7:54 am
[...] presents Wordpress Tips:How To Display Other Blog?s Feeds to Your WordPress Blog posted at Easy Life [...] Post a comment
|
|