WordPress: Template Tags/the author posts link:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: == Description == Displays a link to all posts by an author. The link text is the user's Display name publicly as field. The results of clicking on the presented link will be controlled ...)
 
无编辑摘要
第1行: 第1行:
== Description ==
== Description ==
== 描述 ==


Displays a link to all posts by an author. The link text is the user's Display name publicly as field. The results of clicking on the presented link will be controlled by the [[WordPress:Template Hierarchy]] of [[WordPress:Author Templates]].  This tag must be used within [[WordPress:The Loop]].
Displays a link to all posts by an author. The link text is the user's Display name publicly as field. The results of clicking on the presented link will be controlled by the [[WordPress:Template Hierarchy]] of [[WordPress:Author Templates]].  This tag must be used within [[WordPress:The Loop]].
显示连接到文章作者所有文章的一个链接。链接文本是用户在栏中公开显示的名称。点击当前链接的结果由[[WordPress:Author Templates|作者模板]]的 [[WordPress:Template Hierarchy|模板层级]]控制。必须在[[WordPress:The Loop|The Loop]]内部使用这个标签。


== Usage ==
== Usage ==
== 用法 ==


%%% <?php the_author_posts_link(); ?> %%%
%%% <?php the_author_posts_link(); ?> %%%
%%% <?php the_作者_文章_链接(); ?> %%%


== Examples ==
== Examples ==
== 例子 ==


=== Use Example ===
=== Use Example ===
=== 使用例子 ===


Displays the link, where the default link text value is the user's '''Display name publicly as''' field.   
Displays the link, where the default link text value is the user's '''Display name publicly as''' field.   
显示链接,默认链接文章参数值是用户'''公开显示姓名'''栏。


  &lt;p&gt;Other posts by <?php the_author_posts_link(); ?>&lt;/p&gt;
  &lt;p&gt;Other posts by <?php the_author_posts_link(); ?>&lt;/p&gt;
&lt;p&gt;Other <?php the_作者_文章_link()发表; ?>&lt;/p&gt;


== Parameters ==
== Parameters ==
== 参数==


This function takes no arguments.
This function takes no arguments.
这个函数没有参数。
== Deprecated Parameters ==


== Deprecated Parameters ==
== 不可以使用的参数 ==


; idmode : (''string'') Sets the element of the author's information to display for the link text.
; idmode : (''string'') Sets the element of the author's information to display for the link text.
; idmode : (''字符串'') 将作者的信息元素设置,显示链接文本。、


== Related ==
== Related ==
== 相关的 ==


{{Tag Author Tags}}
{{Tag Author Tags}}
{{标签作者标签}}


{{Tag Footer}}
{{Tag Footer}}
{{标签 页底文字}}

2008年6月28日 (六) 11:48的版本

Description

描述

Displays a link to all posts by an author. The link text is the user's Display name publicly as field. The results of clicking on the presented link will be controlled by the WordPress:Template Hierarchy of WordPress:Author Templates. This tag must be used within WordPress:The Loop.

显示连接到文章作者所有文章的一个链接。链接文本是用户在栏中公开显示的名称。点击当前链接的结果由作者模板模板层级控制。必须在The Loop内部使用这个标签。

Usage

用法

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

%%% <?php the_作者_文章_链接(); ?> %%%

Examples

例子

Use Example

使用例子

Displays the link, where the default link text value is the user's Display name publicly as field. 显示链接,默认链接文章参数值是用户公开显示姓名栏。

<p>Other posts by <?php the_author_posts_link(); ?></p>

<p>Other <?php the_作者_文章_link()发表; ?></p>

Parameters

参数

This function takes no arguments. 这个函数没有参数。

Deprecated Parameters

不可以使用的参数

idmode
(string) Sets the element of the author's information to display for the link text.
idmode
(字符串) 将作者的信息元素设置,显示链接文本。、

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

模板:Tag Footer