WordPress: Template Tags/print UrlPopNav:修订间差异
(新页面: == 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 [[WordPres...) |
无编辑摘要 |
||
第1行: | 第1行: | ||
== Description == | == 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. | 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得到了查询。 | |||
Link options in the dropdown menu are: | 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 | ||
第16行: | 第31行: | ||
== Usage == | == Usage == | ||
%%% <?php print_UrlPopNav(); ?> %%% | |||
== 用法 == | |||
%%% <?php print_UrlPopNav(); ?> %%% | %%% <?php print_UrlPopNav(); ?> %%% | ||
第22行: | 第41行: | ||
<div>Choose Geo site: <?php print_UrlPopNav(); ?></div> | <div>Choose Geo site: <?php print_UrlPopNav(); ?></div> | ||
==例子 == | |||
<div>选择 Geo 站点: <?php print_UrlPopNav(); ?></div> | |||
== Parameters == | == Parameters == | ||
== 参数 == | |||
This tag has no parameters. | This tag has no parameters. | ||
这个标签没有参数。 | |||
== Related == | == Related == | ||
第32行: | 第58行: | ||
{{No Param Tag Footer}} | {{No Param Tag Footer}} | ||
== 相关的== | |||
{{标签 Geo 标签}} | |||
{{没有 Param 标签 页底文字}} |
2008年7月4日 (五) 17:19的版本
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相关的站点。如果标签是在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
- 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
Usage
%%% <?php print_UrlPopNav(); ?> %%%
用法
%%% <?php print_UrlPopNav(); ?> %%%
Example
<div>Choose Geo site: <?php print_UrlPopNav(); ?></div>
例子
<div>选择 Geo 站点: <?php print_UrlPopNav(); ?></div>
Parameters
参数
This tag has no parameters. 这个标签没有参数。