常用函数-print_GeoCache_Url()

2条评论

说明

该标签显示一个指向 Geocaching页面的URL链接,该页面上列出用户当前位置附近的GeoCache宝藏地址。若从主循环(loop)内调用该标签,应在Geocache位置的URL的查询字符串中插入文章的经纬度设置。若在主循环外(或者在主循环内,但文章未设置经/纬度)调用该标签,在查询字符串中插入博客的默认经纬度位置。

用法

 <?php print_GeoCache_Url(); ?> 

示例

<a href="<?php print_GeoCache_Url(); ?>">Locate geocaches near me</a>  

参数

该标签无参数

#1
还是函数的功能好!
#2
这个函数没有用过到,具体有什么用吗

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许HTML标签:<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • 自动断行和分段。

更多关於格式化选项的信息

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.