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

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
 
第1行: 第1行:
== Description ==
== 描述 ==
== 描述 ==
Displays a dropdown menu, of which each option is a link opening in a new browser window the mentioned geodata-related site. If the tag is called from within [[WordPress:The_Loop]], the Latitude and Longitude entered for a post are queried at each site. When called outside The Loop (or inside The Loop, but no Lat/Lon was entered for a post), default Latitude and Longitude for the weblog are queried.


显示一个下拉列表菜单,在这个菜单上,每个选项是一个链接,这个链接会打开一个新的浏览器窗口,提及到geodata相关的站点。如果标签是在[[WordPress:The_Loop|The_Loop]]内调用的,为一篇文章输入的Latitude and Longitude在每个站点上都得到了查询。当在Loop外调用这个标签的时候(或者在Loop内调用,但是没有为一篇文章输入Lat/Lon),网络日志默认的Latitude 和Longitude得到了查询。
显示一个下拉列表菜单,在这个菜单上,每个选项是一个链接,这个链接会打开一个新的浏览器窗口,提及到geodata相关的站点。如果标签是在[[WordPress:The_Loop|The_Loop]]内调用的,为一篇文章输入的Latitude and Longitude在每个站点上都得到了查询。当在Loop外调用这个标签的时候(或者在Loop内调用,但是没有为一篇文章输入Lat/Lon),网络日志默认的Latitude 和Longitude得到了查询。


Link options in the dropdown menu are:
下拉列表菜单中的链接选项是:
下拉列表菜单中的链接选项是:
* Acme Mapper
* GeoURLs near here
* GeoCaches near here
* MapQuest map of this spot
* SideBit URL map of this spot
* Confluence.org near here
* Topozone near here
* FindU near here
* Maptech near here
* Acme Mapper
* Acme Mapper
* GeoURLs near here
* GeoURLs near here
第29行: 第13行:
* FindU near here
* FindU near here
* Maptech near here
* Maptech near here
== Usage ==
%%% <?php print_UrlPopNav(); ?> %%%


== 用法 ==
== 用法 ==
第38行: 第18行:
%%% <?php print_UrlPopNav(); ?> %%%
%%% <?php print_UrlPopNav(); ?> %%%


== Example ==
==例子 ==


  &lt;div&gt;Choose Geo site: <?php print_UrlPopNav(); ?>&lt;/div&gt;
  &lt;div&gt;Choose Geo site: <?php print_UrlPopNav(); ?>&lt;/div&gt;
==例子 ==
&lt;div&gt;选择 Geo 站点: <?php print_UrlPopNav(); ?>&lt;/div&gt;
== Parameters ==


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


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


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

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

描述[ ]

显示一个下拉列表菜单,在这个菜单上,每个选项是一个链接,这个链接会打开一个新的浏览器窗口,提及到geodata相关的站点。如果标签是在The_Loop内调用的,为一篇文章输入的Latitude and Longitude在每个站点上都得到了查询。当在Loop外调用这个标签的时候(或者在Loop内调用,但是没有为一篇文章输入Lat/Lon),网络日志默认的Latitude 和Longitude得到了查询。

下拉列表菜单中的链接选项是:

  • Acme Mapper
  • GeoURLs near here
  • GeoCaches near here
  • MapQuest map of this spot
  • SideBit URL map of this spot
  • Confluence.org near here
  • Topozone near here
  • FindU near here
  • Maptech near here

用法[ ]

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

例子[ ]

<div>Choose Geo site: <?php print_UrlPopNav(); ?></div>

参数[ ]

这个标签没有参数。

相关的[ ]

模板:标签 Geo 标签