WordPress:Template Tags/print MapTech Url

来自站长百科
Fludlen讨论 | 贡献2008年7月5日 (六) 11:40的版本
跳转至: 导航、​ 搜索

Description

Displays the URL to a Maptech generated geographical 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 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.

描述

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

Usage

用法

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

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

Example

例子

<a href="<?php print_MapTech_Url(); ?>">Maptech map of my location</a>

<a href="<?php print_MapTech_Url(); ?>">我的位置的Maptech 地图</a>

Parameters

This tag has no parameters.

参数

这个标签没有参数。

Related

模板:Tag Geo Tags

模板:No Param Tag Footer

相关的

模板:标签 Geo标签