模板标签-comment_author()

0条评论

说明

该标签显示评论作者名;即评论者所提供的名称。若评论者未提供姓名(且设置>讨论中未选用“用户必须填写姓名和邮件地址以发表评论”),WordPress会将评论作者名显示为“匿名用户”。该标签必须用在WordPress主循环(loop)或评论循环中。

用法

<?php comment_author(); ?> 

示例

<div>Comment by <?php comment_author(); ?>:</div>  

参数

该标签无参数。

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许HTML标签:<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • 自动断行和分段。

更多关於格式化选项的信息

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.