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
-
Chelsea Defender Prioritises Move to Inter as Swap Deal Discussions Emerge
Chelsea are facing an important decision regarding one of their longest-serving academy graduates, amid interest from clubs in Italy and England. Chel...
-
Jannik Sinner Sends Supportive Message to Carlos Alcaraz After Wimbledon Victory
Jannik Sinner and Carlos Alcaraz maintain a friendly off-court rivalry, yet remain cordial partners off court. After winning their second Wimbledon ti...
-
Dana White Criticizes UFC Production Team for Celebrity Graphic Mix-Up Involving Shakur Stevenson and Jalen Williams
UFC 329 was marred by an embarrassing broadcast error when Shakur Stevenson appeared sitting on his seat but NBA star Jalen Williams’ name appeared ...
RSS Feed Shortcodes
[x3m-rssfeed url="https://sports247.news/rss" entries="3" target="_blank" rel="nofollow" content="150"]
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. |
