Displaying Imported Items via Shortcode
When using the free core plugin alone, or along with any of the add-ons listed, the display of imported feed items is handled either via our shortcode or our block.
The shortcode: [wp-rss-aggregator]
There are two ways of adding the shortcode to a page or post.
The TinyMCE Button (Classic Editor)
If you are using the Classic Editor for WordPress, the TinyMCE editor for every page or post will include a small button with an RSS icon on it.
Click on this to add the WP RSS Aggregator shortcode with the options you'd like to apply.
These options will override those set anywhere else in the WP RSS Aggregator settings.
Manually Copy/Paste the Shortcode (Block or Classic Editor)
The second is to simply copy and paste the shortcode that you need and manually add parameters to it. The parameters can be found below.
The shortcode can also be applied in the shortcode block used in the Gutenberg block editor for WordPress (post-WordPress 5.0). However, if using the block editor, we recommend opting for our own WP RSS Aggregator block.
|feeds||[wp-rss-aggregator feeds="feed-source-one, feed-source-two,feed-source-three"]|
|pagination|| [wp-rss-aggregator pagination="off"]
|template|| [wp-rss-aggregator template="default"]
|page|| [wp-rss-aggregator page="2"]
Example: [wp-rss-aggregator source="ID" limit="xx" category="sports"]
...where “ID” is the feed source ID, “xx” is the number of feed items to display and "sports" is the feed category slug from which the shortcode should display feeds.