WordPress:Template Tags/print GeoCache Url
Description
描述
Displays the URL for a Geocaching generated list of geocaches near your location. If the tag is called from within WordPress:The_Loop, the Latitude and Longitude entered for a post is inserted in the query string of the URL for the geocache locations. 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.
显示Geocaching的[WordPress:Glossary#URI and URL|URL]],Geocaching是你的位置附近的geocaches的产生列表。如果标签是从The Loop内调用的,为一篇文章输入的Latitude 和Longitude插入到列表URL的查询字符串中。当从Loop外调用参数(或者从Loop内调用参数,但是没有为文章输入Lat/Lon)的时候,网络日志默认的Latitude 和Longitude插入进一个查询字符串中。
Usage
用法
%%% <?php print_GeoCache_Url(); ?> %%%
%%% <?php print_GeoCache_Url(); ?> %%%
Example
例子
<a href="<?php print_GeoCache_Url(); ?>">Locate geocaches near me</a>
<a href="<?php print_GeoCache_Url(); ?>">将geocaches指定到我的附近</a>
Parameters
This tag has no parameters.
参数
这个标签没有参数。