WordPress.org

Ready to get started?Download WordPress

Codex

Template Tags/the title rss

Contents

Description

Displays the title of the current post, formatted for RSS. This tag must be within The Loop.

Usage

 <?php the_title_rss(); ?> 

Example

Displays the post title in an RSS title tag.

<item>
    <title><?php the_title_rss(); ?></title>

Parameters

This tag has no parameters.

Related

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