WordPress: Template Tags/print Lon:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
 
第1行: 第1行:
== Description ==
== 描述 ==
== 描述 ==


Displays the Geographic (geodata) Options Longitude setting. If the tag is called from within [[WordPress:The_Loop]], the Longitude entered for a post is displayed. When called outside The Loop (or inside The Loop, but no Longitude was entered for a post), the default Longitude setting for the weblog is displayed.


显示Geographic (geodata)选项 Longitude 设置。如果标签是在[[WordPress:The_Loop|The_Loop]]内调用的,显示了为一篇文章输入的Longitude。如果是在Loop外调用了标签(或者在Loop内调用标签,但是没有为文章输入Longitude),显示了网络日志的默认Longitude设置。
显示Geographic (geodata)选项 Longitude 设置。如果标签是在[[WordPress:The_Loop|The_Loop]]内调用的,显示了为一篇文章输入的Longitude。如果是在Loop外调用了标签(或者在Loop内调用标签,但是没有为文章输入Longitude),显示了网络日志的默认Longitude设置。
== Usage ==
%%% <?php print_Lon(); ?> %%%


== 用法 ==
== 用法 ==


%%% <?php print_Lon(); ?> %%%
%%% <?php print_Lon(); ?> %%%
== Example ==
&lt;p&gt;Trip locale: <?php print_Lat(); ?>Lat, <?php print_Lon(); ?>Lon&lt;/p&gt;


== 例子 ==
== 例子 ==


  &lt;p&gt;Trip locale: <?php print_Lat(); ?>Lat, <?php print_Lon(); ?>Lon&lt;/p&gt;
  &lt;p&gt;Trip locale: <?php print_Lat(); ?>Lat, <?php print_Lon(); ?>Lon&lt;/p&gt;
== Parameters ==


== 参数 ==
== 参数 ==


This tag has no parameters.
这个标签没有参数。
这个标签没有参数。
== Related ==
{{Tag Geo Tags}}


{{No Param Tag Footer}}


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

2008年7月15日 (二) 16:38的最新版本

描述[ ]

显示Geographic (geodata)选项 Longitude 设置。如果标签是在The_Loop内调用的,显示了为一篇文章输入的Longitude。如果是在Loop外调用了标签(或者在Loop内调用标签,但是没有为文章输入Longitude),显示了网络日志的默认Longitude设置。

用法[ ]

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

例子[ ]

<p>Trip locale: <?php print_Lat(); ?>Lat, <?php print_Lon(); ?>Lon</p>

参数[ ]

这个标签没有参数。


相关的[ ]

模板:标签 Geo 标签