WordPress: Template Tags/print GeoCache Url:修订间差异
来自站长百科
无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
== 描述 == | == 描述 == | ||
显示[http://www.geocaching.com/ Geocaching]的[WordPress:Glossary#URI and URL|URL]],[http://www.geocaching.com/ Geocaching]是你的位置附近的geocaches的产生列表。如果标签是从[[WordPress:The_Loop|The_Loop]]内调用的,为一篇文章输入的Latitude 和Longitude插入到列表URL的[[WordPress:Glossary#Query string|查询字符串]]中。当从Loop外调用参数(或者从Loop内调用参数,但是没有为文章输入Lat/Lon)的时候,网络日志默认的Latitude 和Longitude插入进一个查询字符串中。 | |||
显示[http://www.geocaching.com/ Geocaching]的[WordPress:Glossary#URI and URL|URL]],[http://www.geocaching.com/ Geocaching]是你的位置附近的geocaches的产生列表。如果标签是从[[WordPress:The_Loop| | |||
== 用法 == | == 用法 == | ||
第13行: | 第7行: | ||
%%% <?php print_GeoCache_Url(); ?> %%% | %%% <?php print_GeoCache_Url(); ?> %%% | ||
== 例子== | == 例子== | ||
<a href="<?php print_GeoCache_Url(); ?>">将geocaches指定到我的附近</a> | <a href="<?php print_GeoCache_Url(); ?>">将geocaches指定到我的附近</a> | ||
== 参数== | == 参数== | ||
这个标签没有参数。 | 这个标签没有参数。 | ||
== 相关的 == | == 相关的 == | ||
2008年7月15日 (二) 17:00的最新版本
描述[ ]
显示Geocaching的[WordPress:Glossary#URI and URL|URL]],Geocaching是你的位置附近的geocaches的产生列表。如果标签是从The_Loop内调用的,为一篇文章输入的Latitude 和Longitude插入到列表URL的查询字符串中。当从Loop外调用参数(或者从Loop内调用参数,但是没有为文章输入Lat/Lon)的时候,网络日志默认的Latitude 和Longitude插入进一个查询字符串中。
用法[ ]
%%% <?php print_GeoCache_Url(); ?> %%%
例子[ ]
<a href="<?php print_GeoCache_Url(); ?>">将geocaches指定到我的附近</a>
参数[ ]
这个标签没有参数。