Skip to main content
Feedspress

Overriding {local_link} or {permalink} template parameters

  • If your template has the links wrapped in {permalink}, to change them to a local link use the  change_to_local_link=”true” parameter (see Examples below).
    Note: Please also add the wrap_image_with_link=”true” parameter to link the images as well
  • If your template has the links wrapped in {local_link},  to change them to a permalink use the change_to_permalink=”true” parameter (see Examples below).
    Note: Please also add the wrap_image_with_link=”true” parameter to link the images as well

    • In this case also please set up the same template on both article_detail_template=”” and template=”” parameters, so it wouldn’t cache that page with a detail page. Otherwise it will show both the article_detail_template feed. Also make sure to add ignore_filter=”true” as the feed items get filtered with the current item that you’re trying to view. In order to stop the filter you’ll need to set it to true.

See all FeedsPress parameters here.
Examples

Changing {{permalink}} to local links with change_to_local_link=”true”, wrap_image_with_link=”true”, ignore_filter=”true” parameters.

[feedspress url="https://www.unitedvoice.com/category/news/feed/" title_override="" skip_items="" item_fields="title,content" feed_fields="content" allowed_tags="" template="7" max_items="2" class_prefix="feedspress" ignore_filter="true" change_to_local_link="true" wrap_image_with_link="true" detail_page="united-voice"]

Changing {{local_link}} to permalinks with change_to_permalink=”true” wrap_image_with_link=”true” parameters.

[feedspress url="https://www.unitedvoice.com/category/news/feed/" title_override="" skip_items="" item_fields="title,content" feed_fields="content" allowed_tags="" template="4" max_items="2" class_prefix="feedspress" ignore_filter="true" change_to_permalink="true" wrap_image_with_link="true" detail_page="united-voice"]