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 and Manchester United Poised to Target Rising Portuguese Star in January Transfer Window
Chelsea and Manchester United are reportedly preparing to make moves in the upcoming January transfer window to secure one of Portuguese football’s ...
-
Fans Frustrated with CBS for Frequent Shots of Taylor Swift During Chargers-Chiefs Game
The Kansas City Chiefs secured another win with a 22-6 victory over the Los Angeles Chargers, who remain winless this season. Among the spectators was...
-
Holger Rune Faces New Injury Setback, Withdraws From Brussels Tournament
After returning to competition following an 11-month hiatus due to an Achilles injury, Holger Rune finds himself sidelined once again. The Danish play...
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. |
