Getting started with Feedspress shortcode parameters
Feedspress uses self-closing shortcodes. Below is the simplest shortcode example for a feed (that loads the feed from https://www.unitedvoice.com):
[feedspress url="https://www.unitedvoice.com/category/news/feed/"]
The only parameter being used (see all accepted the parameters here) is the feed source URL parameter: url=”https://www.unitedvoice.com/category/news/feed/”;
Local Links
When you want your feed to show as a local link (by default it will link to your feed source URL), you need to follow the following set-up:
- Change the permalink to a local link: change_to_local_link=”true”;
- Add the article detail page manually to your website, for example “united-voice” (with the shortcode on it) this way the feed will show up as a category on your website with the following shortcode (click here to see);
- Add the article detail page URL parameter to your shortcode detail_page=”united-voice”;
- Change the {permalink} into a {local_link} in your template by adding change_to_local_link=”true” parameter;
- Add the article detail page template parameter (this is how the feed item article will look like on your page): article_detail_template=”3″;
After adding the 3 parameters from above, the shortcode will look like this:
[feedspress url="https://www.unitedvoice.com/category/news/feed/" template="7" max_items="5" skip_items="3" article_detail_template="3" change_to_local_link="true" detail_page="united-voice"]
More Parameters
See all accepted the parameters here >
See all Feedspress Templates >