Codex

Template Tags/permalink single rss

Contents

Description

Displays the permalink for the current post, formatted for syndication feeds such as RSS or Atom. This tag must be used within The Loop.

Usage

 <?php permalink_single_rss('file'); ?> 

Example

Displays the permalink in an RSS link tag.

<link><?php permalink_single_rss(); ?></link>

Parameters

file 
(string) The page the link should point to. Defaults to the current page.

Related

For permalinks in regular page templates, it's recommended to use the_permalink() instead.

permalink_anchor, get_permalink, the_permalink, permalink_single_rss

How to pass parameters to tags

Go to Template Tag index