Add Weight Loss and Fitness Bloggers 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 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->items0$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

Blog Traffic Exchange Related Posts
  • blog traffic exchangeWickedly Spooky Halloween Roundup Happy Sunday to all my readers! Today's all about the roundup. As usual we have the Fitness Health Network of which I am a part of so go ahead and browse through the posts. You'll find they have a lot of great things to say. A little further down are......
  • blog traffic exchangeCash Prizes Weekend Roundup... see end of post for more details. This week from Fitness Health Network: Below are a couple of great posts from my fitness blogger friends - check them out! To Stretch, Or Not To Stretch-Who Knows? Get Fit Slowly examines the research. Journal of Healthy Living writes about Myths About Coffee: America's #1 Drink. NCN tries out......
  • blog traffic exchangeCarnival of Weight Loss #2 -- Halloween Edition Welcome to the November 1, 2008 edition of carnival of weight loss. The Day after Halloween edition. diet NickIrons presents Top 5 weight loss myths posted at Get Results! Fitness Blog, saying, "These days you can’t go anywhere without hearing about a new weight loss breakthrough. A pill, a......
  • blog traffic exchangeRoundup- July 27th Edition Good morning and happy Sunday everyone. If you're planning to have fun in the sun make sure you hydrate, slather on the sunscreen, and stay safe. Monday I was featured @ Digerati Life in The Cost of Being Overweight. Yesterday I was unleashed at FMU (picture was taken the same......
  • wiifitWii Fit: Healthy Weight Loss? Have you ever wondered if those video game exercise programs work? Can you achieve healthy weight loss playing a video game? The Wii Fit is the most popular of the weight loss programs that are on the market today. It has sold many thousands of units, but some wonder if......
Blog Traffic Exchange Related Websites
  • myfamsilvRevolutionary New Antiques Site Aggregates the World's Stock of Antique Silver, Bringing Buyers and Sellers Together There is a new player in the international silver trade. My Family Silver is a revolutionary new website that offers a unique way to buy and sell antique silver. For the first time, myfamilysilver.com enables dealers and auctioneers worldwide to list silver for sale on one exclusive and fully independent......
  • worldmoneyGetting to Know Money around the World If you collect money, it is likely that you will have a particular kind of money that you are looking to collect. While many are happy to collect just what it is that they are able to find form their country, there are others who will need to be able......
  • blog traffic exchangeAdd Latest Golf Posts 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 latest golf posts to my sidebar......
  • builtinRestoring Built-Ins If your home is from the arts and crafts era, or if you have built-ins that are looking a little worn, restoring them is not as difficult as you may think. Built-ins are incredibly useful but they are often overlooked by many home owners. Here are some great tips to......
  • rarehercTake Precautions When Buying Rare Coins and Currency Online There are many different things that you will need to pay attention to whenever you are looking to buy the kinds of things that you want to have in your collection. Among the different things that you might want to have are rare coins and currency. You might be willing......
Online Stores If you liked this article, vote for it on del.icio.us and stumbleupon.



Categories:

about, tools



0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

Email Updates

aerobics calories carbs diet diet books dieters diet plan diets exercise exercise plan exercises fad diets fast food fats few minutes fitness health food choices fruits and vegetables graph health health network healthy lifestyle how many calories ins journey lazy man lifestyle changes losing weight metabolism motivation muscles nutrients nutrition fitness portion control protein proteins recipes snack soda ups vegetables weight gain weight loss workout workouts