WordPress模板标签comments_rss_link用于输出当前文章评论的RSS链接,不同于comments_link(),comments_rss_link()输出的是一个完整的链接,而不只是一个URL。
comments_rss_link( string $link_text = 'Comments RSS' )
函数参数
$link_text
字符串值,默认值:Comments RSS
提供一个文本,用于链接的锚文本。
函数使用示例
<?php comments_rss_link('评论RSS'); ?>
扩展阅读
comments_rss_link()函数位于:wp-includes/deprecated.php
相关函数:
- cancel_comment_reply_link()
- comment_author()
- comment_author_email()
- comment_author_email_link()
- comment_author_IP()
- comment_author_link()
- comment_author_rss()
- comment_author_url()
- comment_author_url_link()
- comment_class()
- comment_date()
- comment_excerpt()
- comment_form_title()
- comment_form()
- comment_ID()
- comment_id_fields()
- comment_reply_link()
- comment_text()
- comment_text_rss()
- comment_time()
- comment_type()
- comments_link()
- comments_number()
- comments_open()
- comments_popup_link()
- comments_popup_script()
- get_avatar()
- next_comments_link()
- paginate_comments_links()
- permalink_comments_rss()
- previous_comments_link()
- wp_list_comments()