Shortcodes
Feed item display is controlled via the shortcode "[wp-rss-aggregator]". This shortcode accepts a number of parameters
Here’s a list of parameters you can use to display feed items on your posts or pages.
Core
Parameter
|
Example
|
---|---|
links_before |
[wp-rss-aggregator links_before='
|
links_after |
[wp-rss-aggregator links_after='
'] |
link_before |
[wp-rss-aggregator link_before='
|
link_after |
[wp-rss-aggregator link_after='
'] |
source | [wp-rss-aggregator source=’55,56′] |
exclude | [wp-rss-aggregator exclude=’26,14′] |
limit | [wp-rss-aggregator limit=’10’] |
You can easily select the source for your feeds and also insert a limit via shortcode parameters as shown below. To get your feed source ID refer to the ID column in your feed source listing page. To make it clearer:
[wp-rss-aggregator source="
Excerpts & Thumbnails
If you’ve got the Excerpts & Thumbnails add-on installed, you can also use the following parameters.
Parameter
|
Possible values
|
Example
|
---|---|---|
thumbnails | yes, no | 1,0 | true, false | [wp-rss-aggregator thumbnails=’no’] |
excerpts | yes, no | 1,0 | true, false | [wp-rss-aggregator excerpts=’no’] |
Keyword Filtering
With the Keyword Filtering add-on, you can even filter items from the shortcode, but using the following parameter:
Parameter
|
Example
|
---|---|
filter | [wp-rss-aggregator filter=’sports’] |
Categories
Parameter
|
Example
|
---|---|
category | [wp-rss-aggregator category=’sports’] |
[wp-rss-aggregator category=’entertainment, sports’] |
Connect
Connect with us on the following social media platforms.