WordPress: Template Tags/comments link:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
 
第1行: 第1行:
== Description ==
== 描述==
== 描述==
Displays the [[WordPress:Glossary#URI and URL|URL]] to a post's comments. This tag must be within [[WordPress:The Loop]], or the loop set up for comments.


显示文章评论的[[WordPress:Glossary#URI and URL|URL]]。必须在[[WordPress:The Loop|The Loop]]内部或者为评论设置的loop内使用这个标签。
显示文章评论的[[WordPress:Glossary#URI and URL|URL]]。必须在[[WordPress:The Loop|The Loop]]内部或者为评论设置的loop内使用这个标签。
== Usage ==
== 用法 ==
== 用法 ==
%%% <?php comments_link(); ?> %%%
%%% <?php comments_link(); ?> %%%
%%% <?php comments_link(); ?> %%%
== Example ==
== 例子 ==
== 例子 ==
&lt;a href="<?php comments_link(); ?>"&gt;
      Comments to this post
&lt;/a&gt;
&lt;a href="<?php comments_link(); ?>"&gt;
&lt;a href="<?php comments_link(); ?>"&gt;
       Comments to this post
       Comments to this post
  &lt;/a&gt;
  &lt;/a&gt;
== Parameters ==


== 参数 ==
== 参数 ==


This tag has no parameters.
这个标签没有参数。
这个标签没有参数。


== Related ==
{{Tag Comments Tags}}
{{PHP Function Tag Footer}}
==相关的==
==相关的==



2008年7月11日 (五) 11:20的最新版本