Simply copy and paste the example code below to wherever you would like to display your RSS feed. Replace the url and other properties as needed. (See FAQ section below to use in Gutenberg blocks, widgets, and PHP)
Display the RSS feed wherever you want using shortcode, including text widgets
Control whether to display the entire RSS feeds content or just an excerpt
Control how many words display in the excerpt
Control whether it has a Read more link or not
Control whether links open in a new window or not
Simple, lightweight, and fast
Easy to setup
Fetch thumbnail or first image
Control size of thumbnail (width and height)
Set cache time (in seconds)
Control order of items
Aggregate multiple feeds into one list
Dofollow or nofollow options
Properties:
url – The url of the rss feed you wish to aggregate from. For multiple urls simply use a comma between them.
items – Number of items from the rss feed you wish to fetch (Default is 10)
orderby – Order the items by date, reverse date, or random (default, date, date_reverse, random)
title – Whether to display the title or not (true or false, defaults to true)
excerpt – How many words you want to display for each item (Default is 20, use 0 for full text, use ‘none’ to remove the excerpt)
read_more – Whether to display a read more link or not (true or false, defaults to true)
new_window – Whether to open the title link and read more link in a new window (true or false, defaults to true)
thumbnail** – Whether or not you want to display a thumbnail, and if so, what size you want it to be(true or false, defaults to true. Inserting a number will change the size, default is 150, use 150×200 format to set both width and height, use percents to fill the width, example: 100%x250 or 50%x250)
source – Whether to display the source or not (true or false, defaults to true)
date – Whether to display the publish date or not (true or false, defaults to true)
cache – How long you want the feed to cache the results (Default is 12 hours, you can use days, hours, seconds etc.)
dofollow – Whether or not to make links dofollow (true or false, defaults to false)
ajax – Whether to load the feed via JavaScript or PHP (true or false, defaults to true)
credits – Whether to give credit to the plugin author (true or false, defaults to false)
columns – Set layout to columns/grid layout with number of columns. (defaults to 0, use 2, 3, 4 etc.) **PRO version only**
icons – Replace source & date labels with icons (true or false, defaults to true) **PRO version only**
layout – Set layout to masonry grid layout. (default or masonry) **PRO version only**
**PLEASE NOTE: Using thumbnails can cause longer load times depending on the feed you are fetching from, use with caution.
Please post any issues under the support tab. If you use and like this plugin, please don’t forget to rate it! Additionally, if you would like to see more features for the plugin, please let me know.
Shortcode can be used anywhere including in posts, pages, text widgets, and in PHP files by using the do_shortcode function. This RSS import plugin is very lightweight with a minimal amount of code as to insure it will not slow down your website. Build a custom news aggregator or use this plugin as a simple feed to post plugin by displaying the RSS parsing feed within the pages of your choice. This RSS aggregator is built on the SimplePie API.
Installation
This section describes how to install the plugin and get it working.
Upload wp-rss-retriever.zip to the /wp-content/plugins/ directory
Unzip the file
Activate the plugin through the ‘Plugins’ menu in WordPress
Use the example shortcode [wp_rss_retriever url=”http://feeds.feedburner.com/TechCrunch/” items=”10″ excerpt=”50″ read_more=”true” credits=”true” new_window=”true” thumbnail=”200″ cache=”7200″] anywhere in your content
Change the url and other properties as needed
FAQ
The thumbnail is not displaying
This could be because the source you’re fetching from does not include the featured image in their RSS feed. There is nothing you can do to fix this unless you have control of the source website. If so, you can simply install this plugin on the source website and it will include the featured images within the RSS feed automatically.
The thumbnail is blurry
This is due to the source website including a low resolution image in their feed. There is nothing you can do to fix this unless you have control of the source website. If so, you can simply install this plugin on the source website and it will include larger featured images within the RSS feed automatically.
How do I change the layout? (ie. make the thumbnail first)
You can change the layout via WordPress filters. Add the following code to your themes functions.php file:
Click on the “+” icon to add a new block. Search for “shortcode”. Click on the shortcode block to add it. Copy and paste the example shortcode above into the block. Replace the url and other parameters as needed.
How do I display a feed in my content?
Copy and paste the example shortcode above into your content. Replace the url and other parameters as needed. Update/publish the page or post.
How do I display a feed in a widget?
Create a new text widget. Click on the “Text” tab. Copy and paste the example shortcode above. Replace the url and other parameters as needed.
How do I display a feed using PHP?
Here’s an example of how to display an RSS feed with PHP