WordPress: Template Tags/comment author IP:修订间差异
(新页面: == Description == Displays the comment author's IP address. This tag must be within WordPress:The Loop, or a comment loop. == Usage == %%% <?php c...) |
无编辑摘要 |
||
第1行: | 第1行: | ||
== Description == | == Description == | ||
== 描述 == | |||
Displays the comment author's [[WordPress:Glossary#IP address|IP address]]. This tag must be within [[WordPress:The Loop]], or a comment loop. | Displays the comment author's [[WordPress:Glossary#IP address|IP address]]. This tag must be within [[WordPress:The Loop]], or a comment loop. | ||
显示评论作者的[[WordPress:Glossary#IP address|IP 地址]]。必须在[[WordPress:The Loop|The Loop]]或者一个评论loop中使用这个标签。 | |||
== Usage == | |||
== 用法 == | |||
%%% <?php comment_author_IP(); ?> %%% | |||
%%% <?php comment_author_IP(); ?> %%% | %%% <?php comment_author_IP(); ?> %%% | ||
== Example == | == Example == | ||
== 例子 == | |||
<p>Posted from: <?php comment_author_IP(); ?></p> | <p>Posted from: <?php comment_author_IP(); ?></p> | ||
<p>Posted from: <?php comment_author_IP(); ?></p> | |||
== Parameters == | == Parameters == | ||
== 参数== | |||
This tag has no parameters. | This tag has no parameters. | ||
这个标签没有参数。 | |||
== Related == | == Related == | ||
第20行: | 第32行: | ||
{{No Param Tag Footer}} | {{No Param Tag Footer}} | ||
== 相关的 == | |||
{{标签 评论 标签}} | |||
{{没有 Param 标签 页底文字}} |
2008年7月1日 (二) 16:33的版本
Description
描述
Displays the comment author's IP address. This tag must be within WordPress:The Loop, or a comment loop. 显示评论作者的IP 地址。必须在The Loop或者一个评论loop中使用这个标签。
Usage
用法
%%% <?php comment_author_IP(); ?> %%%
%%% <?php comment_author_IP(); ?> %%%
Example
例子
<p>Posted from: <?php comment_author_IP(); ?></p>
<p>Posted from: <?php comment_author_IP(); ?></p>
Parameters
参数
This tag has no parameters. 这个标签没有参数。
Related
相关的
comments_number, comments_link, comments_rss_link, comments_popup_script, comments_popup_link, comment_ID, comment_author, comment_author_IP, comment_author_email, comment_author_url, comment_author_email_link, comment_author_url_link, comment_author_link, comment_type, comment_text, comment_excerpt, comment_date, comment_time, comments_rss_link, comment_author_rss, comment_text_rss, comment_link_rss, permalink_comments_rss