Apparently this has ability has been built into wordpress for quite some time but a friend of mine recently pointed up that it can be done (pfblogs popular posts added to sidebar.) Here is the wordpress codex for this feature: http://codex.wordpress.org/Function_Reference/fetch_rss.
To add the latest weight loss health and fitness posts to my sidebar I added the following to my theme…
<h3>Latest Weight Loss and Fitness Posts</h3>
<?php // Get RSS Feed(s)
include_once(ABSPATH . WPINC . ‘/rss.php’);
$rss = fetch_rss(‘http://www.fitbloggers.com/feed’);
$maxitems = 10;
$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> (<?php echo $item[‘dc’][‘creator’]; ?>)</li>
<?php endforeach; ?>
</ul>
Originally posted 2008-05-11 13:10:17. Republished by Blog Post Promoter
Related Posts -
Realistic Weight Loss One of the most important steps in this weight loss journey of yours is going to be to set realistic goals about your weight and other factors relating to your health, such as your body mass index or BMI for example. Starting up a weight loss plan when you have...... -
Sunday Roundup - Corn Syrup and Happy Cows Welcome to this week's edition of the Sunday Roundup - Corn Syrup and Happy Cows. In addition to the weekend reading material listed below don't miss the PETA and breast milk blog post from Get Fit Slowly. That post plus one from Fast Food Confessional comprise the title of this...... -
Useful Web Apps for Weight Loss Everyone seems to be getting into weight loss, healthy eating and exercise habits these days, and with that, there has been a surge in the availability of web applications designed to aid in diet and exercise, weight loss, goal setting and other life improvements. Some of these web applications and...... -
My Weight Loss Coach Nintendo DS I have always been a big fan of video games. I don't play them very often anymore... if I do I usually stop after no more than a week. I just have too much to do and too many other things that are more important. That being said I ran...... -
Memorial Holiday Weekend Roundup and Weight Ladder on AllTop With Memorial Day this Monday I just wanted to take the time to say just how grateful I am for the service of our country's Veterans. God bless. All links to Alltop removed because of L.P. "Neenz" Faleafine with alltop. Without going into details let's just say that it was not......
Related Websites -
Not Just a Weight Loss Blog I originally created this web site so that I could lose weight and get in shape. So you could say it was a weight loss blog. It has since then morphed into something else. It's not about losing weight anymore, although I do have a some more weight to loss....... -
The Twitter Diet By Mary Kearl (AOL Health) Twitter, which you many of you may already use to track the whereabouts and happenings of friends, loved ones, world leaders and celebrities, is also being used to track weight loss and calorie intake, as well as to swap diet tips, recipes, workout routines and...... -
A Little Surprise is Coming I have a little surprise coming that has been in the works for a very long time. I'm hoping to post about it later this week, but I was so giddy about it that I figured I'd tease it for now. For now, just keep on plugging away at your...... -
Add P2P Lending News To Your Website Apparently this has ability has been built into wordpress for quite some time but a friend of mine recently pointed up that it can be done (pfblogs popular posts added to sidebar.)Â Here is the wordpress codex for this feature: http://codex.wordpress.org/Function_Reference/fetch_rss. To add the p2p lending news to my sidebar...... -
Wordpress 2.9 "Carmen" released Wordpress has released the latest version of its famous blogging software! The new version 2.9, code named "Carmen" is now available for download. The new version comes with over 500 bug fixes, changes and enhancements which makes it a recommended download and install. Some of the new features include: Trashbin:......
- Exercise Fitness Programs Weight Management
- Discount Low Carb Products Cheap Weight Loss Journal Low Carb Store
Time the change your life? No longer content to live a sedentary lifestyle and revel in couch potatoism? Click here to download the 31 page the 100% FREE eBook "How to Lose Weight and Maintain a Healthy Lifestyle."
Categories:


0 comments ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment