WordPress: Template Tags/the author login:修订间差异
(新页面: == 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 t...) |
无编辑摘要 |
||
第1行: | 第1行: | ||
== Description == | == 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]]. | 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博客的权限 。必须在[[WordPress:The Loop|The Loop]]内部使用这个标签。 | |||
'''Note: It's usually not a good idea to provide login information publicly.''' | '''Note: It's usually not a good idea to provide login information publicly.''' | ||
'''注:公开登录信息,并不是个好主意。''' | |||
== Usage == | == Usage == | ||
== 用法 == | |||
%%% <?php the_author_login(); ?> %%% | |||
%%% <?php the_author_login(); ?> %%% | %%% <?php the_author_login(); ?> %%% | ||
== Example == | == Example == | ||
== 例子== | |||
<p>Author username: <?php the_author_login(); ?></p> | <p>Author username: <?php the_author_login(); ?></p> | ||
<p>作者 用户名: <?php the_作者_登录(); ?></p> | |||
== Parameters == | == Parameters == | ||
== 参数 == | |||
This tag does not accept any parameters. | This tag does not accept any parameters. | ||
任何参数都不接受这个标签。 | |||
== Related == | == Related == | ||
==相关的 == | |||
{{Tag Author Tags}} | {{Tag Author Tags}} | ||
{{标签作者标签}} | |||
{{No Param Tag Footer}} | {{No Param Tag Footer}} | ||
{{没有 Param标签 页底文字}} |
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
相关的
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