WordPress: Template Tags/comment author link:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
 
第1行: 第1行:
== Description ==
== 描述 ==
== 描述 ==
Displays the comment author's name linked to his/her [[WordPress:Glossary#URI and URL|URL]], if one was provided. This tag must be within [[WordPress:The Loop]], or a comment loop.


显示评论作者的姓名,链接到他的/她的[[WordPress:Glossary#URI and URL|URL]],前提是提供有URL。必须在[[WordPress:The Loop|The Loop]],或者一个评论loop内使用这个标签。
显示评论作者的姓名,链接到他的/她的[[WordPress:Glossary#URI and URL|URL]],前提是提供有URL。必须在[[WordPress:The Loop|The Loop]],或者一个评论loop内使用这个标签。


== Usage ==
== 用法 ==
 
%%% <?php comment_author_link(); ?> %%%
%%% <?php comment_author_link(); ?> %%%
== 用法 ==
%%% <?php 评论_作者_链接(); ?> %%%
== Example ==
&lt;p&gt;Comment by: <?php comment_author_link(); ?>&lt;/p&gt;


== 例子 ==
== 例子 ==


  &lt;p&gt;Comment by: <?php comment_author_link(); ?>&lt;/p&gt;
  &lt;p&gt;Comment by: <?php comment_author_link(); ?>&lt;/p&gt;
== Parameters ==
This tag has no parameters.


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


这个标签没有参数
这个标签没有参数
== Related ==
{{Tag Comments Tags}}
{{No Param Tag Footer}}


== 相关的 ==
== 相关的 ==

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

描述[ ]

显示评论作者的姓名,链接到他的/她的URL,前提是提供有URL。必须在The Loop,或者一个评论loop内使用这个标签。

用法[ ]

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

例子[ ]

<p>Comment by: <?php comment_author_link(); ?></p>

参数[ ]

这个标签没有参数

相关的[ ]

comments_number, comments_link, comments_rss_link, comments_popup_script, comments_popup_link, comment_ID, comment_author, comment_author_IP, comment_author_email, comment_author_url, comment_author_email_link, comment_author_url_link, comment_author_link, comment_type, comment_text, comment_excerpt, comment_date, comment_time, comments_rss_link, comment_author_rss, comment_text_rss, comment_link_rss, permalink_comments_rss

模板:没有Param标签 页底文字