As of version 0.9, the Better RSS Widget includes one shortcode for embedding RSS feeds into your posts and pages – better-rss. As with all short codes, you must enclose the code within square brackets [ and ] (I can’t show you an example here because the plugin is active on this site.

Required Attributes

There is only one required attribute for this shortcode. feed. This should include the URL for the RSS feed and should be formatted as feed=”http://sample.com/feed.url” including the double quotes around the full URL.

Optional Attributes

There are a number of optional attributes available for this shortcode. If no default is listed, the setting will default to the settings on the plugin options page.

  • items: indicates how many articles to include, defaults to 10.
  • show_author: whether or not to display the author, can be either 0 or 1.
  • show_date: whether or not to display the date, can be either 0 or 1.
  • show_time: whether or not to display the time, can be either 0 or 1.
  • show_summary: whether or not to display a summary of the article, can be either 0 or 1.
  • target: specifies a link target other than the default setting.
  • cache_duration: number of seconds to cache RSS feed results.
  • show_author: whether or not to display the author, defaults to false, can be either 0 or 1.

Popularity: 10%