WordPress: Template Tags/print MapQuest Url:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
 
第1行: 第1行:
== Description ==
Displays the [[WordPress:Glossary#URI and URL|URL]] for a [http://www.mapquest.com/ MapQuest] generated map of your location. If the tag is called from within [[WordPress:The_Loop]], the Latitude and Longitude entered for a post is inserted in the [[WordPress:Glossary#Query string|query string]] of the URL used for generating the map. 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 is inserted in the query string.
== 描述 ==
== 描述 ==


显示[http://www.mapquest.com/ MapQuest]的[WordPress:Glossary#URI and URL|URL]],[http://www.mapquest.com/ MapQuest]是你的位置产生的map。如果标签是从[[WordPress:The_Loop|The Loop]]内调用的,为一篇文章输入的Latitude 和Longitude插入到用于产生map的URL的[[WordPress:Glossary#Query string|查询字符串]]中。当从Loop外调用参数(或者从Loop内调用参数,但是没有为文章输入Lat/Lon)的时候,网络日志默认的Latitude 和Longitude插入进查询字符串中。
显示[http://www.mapquest.com/ MapQuest]的[WordPress:Glossary#URI and URL|URL]],[http://www.mapquest.com/ MapQuest]是你的位置产生的map。如果标签是从[[WordPress:The_Loop|The Loop]]内调用的,为一篇文章输入的Latitude 和Longitude插入到用于产生map的URL的[[WordPress:Glossary#Query string|查询字符串]]中。当从Loop外调用参数(或者从Loop内调用参数,但是没有为文章输入Lat/Lon)的时候,网络日志默认的Latitude 和Longitude插入进查询字符串中。
== Usage ==


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


%%% <?php print_MapQuest_Url(); ?> %%%
%%% <?php print_MapQuest_Url(); ?> %%%
%%% <?php print_MapQuest_Url(); ?> %%%
== Example ==


== 例子==
== 例子==
<a href="<?php print_MapQuest_Url(); ?>">MapQuest map of my location</a>


<a href="<?php print_MapQuest_Url(); ?>">我的位置的MapQuest </a>
<a href="<?php print_MapQuest_Url(); ?>">我的位置的MapQuest </a>
== Parameters ==
This tag has no parameters.


== 参数==
== 参数==
这个标签没有参数。
这个标签没有参数。


== Related ==
{{Tag Geo Tags}}
{{No Param Tag Footer}}
== 相关的 ==
== 相关的 ==



2008年7月15日 (二) 17:03的最新版本

描述[ ]

显示MapQuest的[WordPress:Glossary#URI and URL|URL]],MapQuest是你的位置产生的map。如果标签是从The Loop内调用的,为一篇文章输入的Latitude 和Longitude插入到用于产生map的URL的查询字符串中。当从Loop外调用参数(或者从Loop内调用参数,但是没有为文章输入Lat/Lon)的时候,网络日志默认的Latitude 和Longitude插入进查询字符串中。

用法[ ]

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

例子[ ]

<a href="<?php print_MapQuest_Url(); ?>">我的位置的MapQuest </a>

参数[ ]

这个标签没有参数。

相关的[ ]

模板:标签 Geo标签