编辑“WordPress:Template Tags/comment author url

跳转至: 导航、​ 搜索
警告:您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您登录创建一个账户,您的编辑将归属于您的用户名,且将享受其他好处。

该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。

最后版本 您的文本
第1行: 第1行:
== Description ==
== 描述 ==
== 描述 ==
Displays the comment author's [[WordPress:Glossary#URI and URL|URL]] (usually their web site), not linked. This tag must be within [[WordPress:The Loop]], or a comment loop.


显示评论作者的[[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 ==


== 用法 ==
== 用法 ==
第7行: 第13行:
%%% <?php comment_author_url(); ?> %%%
%%% <?php comment_author_url(); ?> %%%


== 例子 ==
== Example ==


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


== 例子 ==
Displays comment author's URL as a link, using comment author's name as part of the link text.


显示评论作者的URL作为一个链接,使用评论作者的姓名,作为链接文本的一部分。
显示评论作者的URL作为一个链接,使用评论作者的姓名,作为链接文本的一部分。


  &lt;a href="<?php comment_author_url(); ?>"&gt;Visit  
  &lt;a href="<?php comment_author_url(); ?>"&gt;Visit  
<?php comment_author(); ?>'s site&lt;/a&gt;
== Parameters ==
This tag has no parameters.
== Related ==
{{Tag Comments Tags}}
{{No Param Tag Footer}}
&lt;a href="<?php comment_author_url(); ?>"&gt;Visit
  <?php comment_author(); ?>'s site&lt;/a&gt;
  <?php comment_author(); ?>'s site&lt;/a&gt;


请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅Wordpress-mediawiki:版权的细节)。 未经许可,请勿提交受版权保护的作品!
取消 编辑帮助(在新窗口中打开)