• Hello

    I need a wordpress plugin that displays rss feeds of your own choice on a page.

    Any recommendation?

    (I tried a plugin called “NewsPage”, but I didn’t like it.)

    Thanks

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter Felix J

    (@felix-j)

    Thanks for the tips. However they wasn’t exacly what I was looking for.

    Anyone got any more suggestions?

    Thanks

    It might be helpful if you either elaborated a bit on why they don’t fit the need or shared some more details on what the need really is.

    Thread Starter Felix J

    (@felix-j)

    I dont know how to explain it, but I hope it’s understandble anyway.

    I need a plugin which you can use to add the rss news to a page or post with a simple “tag code” that you insert in your page or post.

    My idea was to have rss news of a site under the screenshot thumbnail or on a completely new page I am not sure yet…

    Here a example: of a post there I maybe want to have it, like in a new square under “RSS”:

    https://xn--bokmrken-3za.net/archives/211

    The RSS square is just linking to the rss pages of the site that the post is about but I also want to show live rss news maybe in the post, in a new square directly under “RSS” or in a new page as said.

    Note: I am not looking after a plugin that will only work as a widget in the sidebar.

    Thread Starter Felix J

    (@felix-j)

    I am happy for any suggestion!

    Thanks

    Thread Starter Felix J

    (@felix-j)

    Will try this one: https://www.ads-software.com/extend/plugins/simple-feed-list/

    and see how it goes… Nope not what I hoped…

    Thread Starter Felix J

    (@felix-j)

    There must be atleast one plugin that fits my need…. Anyone got a recommendation? Please…

    Felix,

    What you probably need to use is a plugin that allows you to execute PHP in posts, pages, and widgets.

    I have an RSS feed running on a page using this method.

    Download and use either the PHP-Execution or the Exec-PHP plugin. After you have that installed and activated, use the following code in your Page or Post where you want the feed to go:

    <?php
    include_once(ABSPATH.WPINC.'/rss.php'); // path to include script
    $feed = fetch_rss('https://domain.tld/your-feed/'); // specify feed url
    $items = array_slice($feed->items, 0, 7); // specify first and last item
    ?>
    
    <?php if (!empty($items)) : ?>
    <?php foreach ($items as $item) : ?>
    
    <h2><a href="<?php echo $item['link']; ?>"><?php echo $item['title']; ?></a></h2>
    <p><?php echo $item['description']; ?></p>
    
    <?php endforeach; ?>
    <?php endif; ?>

    You can get more info on that code here: https://perishablepress.com/press/2009/04/26/import-and-display-rss-feeds-in-wordpress/

    schikowski

    (@schikowski)

    That Perishable Press article has been really helpful, dakranii.

    This was perfect. Thanks!

    Thanks for this

    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

    @droiddog

    you meant like this?

    <?php
    include_once(ABSPATH.WPINC.'/rss.php'); // path to include script
    $feed = fetch_rss('https://feeds.feedburner.com/EplmatchescomChelsea'); // specify feed url
    $items = array_slice($feed->items, 0, 10); // specify first and last item
    ?>
    
    <?php if (!empty($items)) : ?>
    <?php foreach ($items as $item) : ?>
    
    <ul>
    <li>
    <h2><a href="<?php echo $item['link']; ?>"><?php echo $item['title']; ?></a></h2>
    </li>
    </ul>
    
    <?php endforeach; ?>
    <?php endif; ?>

    @droiddog – Here’s how I would do it:

    <?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)) : ?>
    <ul>
    <?php foreach ($items as $item) : ?>
    
    <li><a href="<?php echo $item['link']; ?>"><p><?php echo $item['title']; ?></a></p></li>
    
    <?php endforeach; ?>
    </ul>
    <?php endif; ?>

    I also came across a plugin that will display RSS feeds on your pages, posts, or sidebar. Additionally, you can use php or shortcodes, and it has other configuration and customization options.

    Its in the WordPress Plugin Directory: RSSImport.
    Here’s page: https://www.ads-software.com/extend/plugins/rss-import/
    Here’s author’s page (in German): https://bueltge.de/wordpress-plugins/

    I gave it a whirl as soon as I installed it and it just worked. Thankfully!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Display rss feeds on pages. Any recommendation?’ is closed to new replies.