WordPress.org

Support

Support » Themes and Templates » show rss feed in template with little images

show rss feed in template with little images

  • Hola , is it posible to show an rss feed of an other wordpress blog in my template ?

    With thumbnails of the first image in the post?

    I already tryed a lot but i couldnt get this working right..

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    @esmi

    Forum Moderator

    Use the RSS Widget in Appearance/Widgets or try looking for an RSS plugin.

    example for a post or into a page >>>>>>

    <?php include_once(ABSPATH.WPINC.'/rss.php'); $feed = fetch_rss('url in here'); $items = array_slice($feed->items, 0, 7); ?>
    <?php if (!empty($items)) : ?>
    <?php foreach ($items as $item) : ?>
    <h3><?php echo $item['title']; ?></h3>
    <?php echo $item['description']; ?>
    <?php endforeach; ?> <?php endif; ?>

    but this one does nog contain any images or thumbnails..

    for mine url it does..
    but for a bit more info>>>
    go here>>>
    http://perishablepress.com/press/2009/04/26/import-and-display-rss-feeds-in-wordpress/

    i used the same source for my rss feeds i need…..

    enjoy!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘show rss feed in template with little images’ is closed to new replies.