WordPress:Template Tags/the author login
来自站长百科
描述[ ]
这个标签显示了文章作者的登录名。登录名也可以指用户名,作者用这个用户名得到访问WordPress博客的权限 。必须在The Loop内部使用这个标签。
注:公开登录信息,并不是个好主意。
用法[ ]
%%% <?php the_author_login(); ?> %%%
例子[ ]
<p>作者 用户名: <?php the_author_login(); ?></p>
参数[ ]
任何参数都不接受这个标签。
相关的[ ]
the_author,
the_author_description,
the_author_login,
the_author_firstname,
the_author_lastname,
the_author_nickname,
the_author_ID,
the_author_email,
the_author_url,
the_author_link,
the_author_icq,
the_author_aim,
the_author_yim,
the_author_msn,
the_author_posts,
the_author_posts_link,
list_authors,
wp_list_authors