个人工具
名字空间
变换
操作

WordPress:Template Tags/the title rss

来自站长百科
跳转到: 导航, 搜索

目录

描述

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

用法

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

例子

在RSS标题标签中显示文章标题。 <item>

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


参数

这个标签没有参数。


相关的

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,

Go to Template Tag index

留言