WordPress:Template Tags/the title rss

来自站长百科
Fludlen讨论 | 贡献2008年7月9日 (三) 15:34的版本
跳转至: 导航、​ 搜索

Description

描述

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

显示或者返回当前文章的标题,为RSS形成格式。必须在The Loop内使用这个标签。

Usage

用法

%%% <?php the_title_rss(); ?> %%%

%%% <?php the_title_rss(); ?> %%%

Example

例子

Displays the post title in an RSS title tag. 在RSS标题标签中显示文章标题。

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

<item>

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

Parameters

参数

This tag has no parameters.

这个标签没有参数。

Related

相关的

模板:Tag Post Tags

模板:No Param Tag Footer the_ID, the_title, the_title_attribute, single_post_title, the_title_rss, the_content, the_content_rss, the_excerpt, the_excerpt_rss, previous_post_link, next_post_link, posts_nav_link, the_meta,