模板标签-the_modified_author()

0条评论

说明

模板标签the_modified_author()可显示对文章进行最后修改的作者。该标签必须用在主循环(loop)中。注意:the_modified_author新增于WordPress 2.8。

用法

<?php the_modified_author(); ?> 

参数

该标签无参数

示例

显示最对文章进行最后修改的作者的“公开显示名称”

显示作者在“公开显示名称”选项中所填名称。

<p>This post was written by <?php the_modified_author(); ?></p>

历史记录

始见于 WordPress 2.8.0

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许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.