rss_link function

{rss_link} is used to create a link to the rss feed if the feature is turned on, otherwise it displays nothing.  This is NOT to be confused with the older {rsslink} function which spit out the non-sef_url link.  Though most params are not necessary, you could pass a:

  • 'text' - default is nothing so only the rss icon is displayed
  • 'title' - default is 'Subscribe to $rssfeedtitle'
  • 'class' - default is 'rsslink module-actions'
  • 'url' - default is the $rssfeed_sef_url
  • 'prepend' - text to prepend to the link, in some cases you might use '&160;|&160;' to create a separator from the previous text, ONLY if the rss_link is displayed.
Loading Help