WordPress: Template Tags/print Lat:修订间差异
来自站长百科
(新页面: == Description == Displays the Geographic (geodata) Options Latitude setting. If the tag is called from within WordPress:The_Loop, the Latitude entered for a post is displayed. When ...) |
无编辑摘要 |
||
第1行: | 第1行: | ||
== Description == | == Description == | ||
== 描述 == | |||
Displays the Geographic (geodata) Options Latitude setting. If the tag is called from within [[WordPress:The_Loop]], the Latitude entered for a post is displayed. When called outside The Loop (or inside The Loop, but no Latitude was entered for a post), the default Latitude setting for the weblog is displayed. | Displays the Geographic (geodata) Options Latitude setting. If the tag is called from within [[WordPress:The_Loop]], the Latitude entered for a post is displayed. When called outside The Loop (or inside The Loop, but no Latitude was entered for a post), the default Latitude setting for the weblog is displayed. | ||
显示Geographic (geodata) Options Latitude设置。如果标签从[WordPress:The_Loop|The_Loop]]内调用,为一篇文章属于的Latitude得到了显示。当从Loop外调用这个标签的时候(或者在Loop内调用但是没有为文章输入Latitude),显示了网络日志的默认Latitude设置。 | |||
== Usage == | == Usage == | ||
%%% <?php print_Lat(); ?> %%% | |||
== 用法 == | |||
%%% <?php print_Lat(); ?> %%% | %%% <?php print_Lat(); ?> %%% | ||
== Example == | == Example == | ||
<p>Trip locale: <?php print_Lat(); ?>Lat, <?php print_Lon(); ?>Lon</p> | |||
== 例子 == | |||
<p>Trip locale: <?php print_Lat(); ?>Lat, <?php print_Lon(); ?>Lon</p> | <p>Trip locale: <?php print_Lat(); ?>Lat, <?php print_Lon(); ?>Lon</p> | ||
== Parameters == | == Parameters == | ||
== 参数 == | |||
This tag has no parameters. | This tag has no parameters. | ||
这个标签没有参数。 | |||
== Related == | == Related == | ||
第20行: | 第34行: | ||
{{No Param Tag Footer}} | {{No Param Tag Footer}} | ||
== 相关的== | |||
{{标签Geo 标签}} | |||
{{没有 Param 标签 页底文字}} |
2008年7月4日 (五) 17:09的版本
Description
描述
Displays the Geographic (geodata) Options Latitude setting. If the tag is called from within WordPress:The_Loop, the Latitude entered for a post is displayed. When called outside The Loop (or inside The Loop, but no Latitude was entered for a post), the default Latitude setting for the weblog is displayed.
显示Geographic (geodata) Options Latitude设置。如果标签从[WordPress:The_Loop|The_Loop]]内调用,为一篇文章属于的Latitude得到了显示。当从Loop外调用这个标签的时候(或者在Loop内调用但是没有为文章输入Latitude),显示了网络日志的默认Latitude设置。
Usage
%%% <?php print_Lat(); ?> %%%
用法
%%% <?php print_Lat(); ?> %%%
Example
<p>Trip locale: <?php print_Lat(); ?>Lat, <?php print_Lon(); ?>Lon</p>
例子
<p>Trip locale: <?php print_Lat(); ?>Lat, <?php print_Lon(); ?>Lon</p>
Parameters
参数
This tag has no parameters. 这个标签没有参数。
Related