WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/permalink single rss


This function has been deprecated since Version 2.3. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/deprecated.php. Use any of these functions instead.

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 ); ?> 

Parameters

$file
(string) (optional) The page the link should point to.
Default: The current page

Return Values

None.

Example

Displays the permalink in an RSS link tag.

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

Related

get_permalink(), the_permalink(), post_permalink(), permalink_anchor(), permalink_single_rss()

See also index of Function Reference and index of Template Tags.