WordPress:Template Tags/comments link

来自站长百科
Xxf3325讨论 | 贡献2008年6月25日 (三) 10:59的版本 (新页面: == Description == Displays the URL to a post's comments. This tag must be within WordPress:The Loop, or the loop set up for comments. == Usage == ...)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航、​ 搜索

Description

Displays the URL to a post's comments. This tag must be within WordPress:The Loop, or the loop set up for comments.

Usage

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

Example

<a href="<?php comments_link(); ?>">
      Comments to this post
</a>

Parameters

This tag has no parameters.

Related

模板:Tag Comments Tags

模板:PHP Function Tag Footer