One Handy Loop
This one loop will most probably change the most useful pieace of code i can recommend of.
This would pull an rss of your choice and list the number an item you choose.
(the list markup seems the reasonable one to use but this up to your needs)
<ul>
<?php // Get RSS Feed(s)
include_once(ABSPATH . WPINC . '/rss.php');
$rss = fetch_rss("[YOUR FEED HERE]“);
$maxitems = [YOUR NUM OF ITEMS];
$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>
Podcasting with wordpress

There are plenty of free podcasting services out there(1 2 for example) but they tend to always come with tones of commercial and just an overall awkward interface.
You can podcast with wordpress, qute easily, and integrate it with your wordpress driven site.
All you need is your site to be self hosted, on your own server space - not on a free 3rd party supplier - essentially wordpress.com and you’re good to go.
- make a new category and call it podcast
- publish a new post in that category and include a link to the podcast file in there whenever you want to publish a new episode
- grab the feed for that category
- register that feed as a podcast feed on feedburner , as it would give you loads of tools, most notably easy subscription to itunes for your listeners.
You’re done. hit me if you have any questions.
Next,


Recent comments