WordPress:Template Tags/print AcmeMap Url
来自站长百科
Description
描述
Displays the URL to a ACME Mapper generated map for 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 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.
向ACME Mapper为你的地址产生的map,显示URL。如果标签是从WordPress:The_Loop内调用的,为一篇文章输入的Latitude 和 Longitude被插入了map的URL查询字符串中。当从Loop外调用标签(或者从Loop内调用标签,但是没有为文章输入Lat/Lon)网络日志的默认Latitude 和 Longitude被插入了查询字符串中。
Usage
%%% <?php print_AcmeMap_Url(); ?> %%%
用法
%%% <?php print_AcmeMap_Url(); ?> %%%
Example
<a href="<?php print_AcmeMap_Url(); ?>">Locate me with ACME Mapper</a>
例子
<a href="<?php print_AcmeMap_Url(); ?>">用ACME Mapper给我定位</a>
Parameters
参数
This tag has no parameters. 这个标签没有参数。