WordPress:Template Tags/the author login

来自站长百科
Fludlen讨论 | 贡献2008年6月27日 (五) 15:36的版本
跳转至: 导航、​ 搜索

Description

描述

This tag displays the login name for the author of a post. The login is also referred to as the Username an author uses to gain access to a WordPress blog. This tag must be used within WordPress:The Loop.

这个标签显示了文章作者的登录名。登录名也可以指用户名,作者用这个用户名得到访问WordPress博客的权限 。必须在The Loop内部使用这个标签。

Note: It's usually not a good idea to provide login information publicly.

注:公开登录信息,并不是个好主意。


Usage

用法

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

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

Example

例子

<p>Author username: <?php the_author_login(); ?></p>

<p>作者 用户名: <?php the_作者_登录(); ?></p>

Parameters

参数

This tag does not accept any parameters.

任何参数都不接受这个标签。

Related

相关的

模板:Tag Author Tags

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

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