WordPress获取文章的Feed标题函数:get_the_title_rss

文 / @WordPress主题

WordPress函数get_the_title_rss用于获取文章的Feed标题,该函数没有可用的参数。

get_the_title_rss()

使用示例

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

扩展阅读

get_the_title_rss()函数位于:wp-includes/feed.php

相关函数:

  • the_title_rss()
  • get_the_title()
添加UTHEME为好友
扫码添加UTHEME微信为好友
· 分享WordPress相关技术文章,主题上新与优惠动态早知道。
· 微信端最大WordPress社群,限时免费入群。