RSS Feed

The RSS Feed shortcode for WordPress can be used to display RSS items from an internal or external source. For external sources to be processed, your hosting account should have the PHP options “allow_url_fopen” and “allow_url_include” active. Check below for example implementations and shortcode documentation:

RSS Feed Examples

RSS Feed Shortcodes

Shortcode
[x3m-rssfeed url="https://sports247.news/rss" entries="3" target="_blank" rel="nofollow" content="150"]
The shortcode can be used to display a list of items from any RSS feed. The number of items and content excerpt are costomizable value in the shortcode. Above example displays 3 items from sports247.news website.

RSS Feed Documentation

Here are the shortcode option settings available for RSS Feed:

Shortcode Settings Details
url=”rss link” used to set the link for the RSS feed
entries=”3″ used to set the number of RSS items to be displayed
target=”_blank” used to set the target window for opening the link on the RSS item title:
– “_blank” used to open the link in new window
– “_self” used to open the link in same window
rel=”nofollow” used to set the link relation on the RSS item title:
– “nofollow”
– “noopener”
– “sponsored”
content=”150″ used to set the character limit for the excerpt to include beneath the RSS item title. Set to 0 to display no content.