WordPress.org

Ready to get started?Download WordPress

Forums

show rss feed in template with little images (5 posts)

  1. ulyssesnld
    Member
    Posted 4 years ago #

    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..

  2. esmi
    Forum Moderator
    Posted 4 years ago #

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

  3. Tork
    Member
    Posted 4 years ago #

    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; ?>
  4. ulyssesnld
    Member
    Posted 4 years ago #

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

  5. Tork
    Member
    Posted 4 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.