Thanks dakranii, this is exactly what I needed. Can anyone tell me how to add bullets to the list (with example)? I’ve stripped the above example down to just the linked titles:
<?php
include_once(ABSPATH.WPINC.'/rss.php'); // path to include script
$feed = fetch_rss('https://www.droiddog.com/forums/external.php?type=RSS2'); // specify feed url
$items = array_slice($feed->items, 0, 5); // specify first and last item
?>
<?php if (!empty($items)) : ?>
<?php foreach ($items as $item) : ?>
<a href="<?php echo $item['link']; ?>"><p><?php echo $item['title']; ?></a></p>
<?php endforeach; ?>
<?php endif; ?>
Thanks