Function Reference/print MapQuest Url

来自WordPress中文文档
跳转至: 导航搜索

Description

Displays the URL for a MapQuest generated map of your location. If the tag is called from within 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.

Usage

%%% ?php print_MapQuest_Url(); ? %%%

Example

a href=?php print_MapQuest_Url(); ?MapQuest map of my location/a

Parameters

This tag has no parameters.

Related

Geo Tags: print_Lat, print_Lon, print_UrlPopNav, print_AcmeMap_Url, print_GeoURL_Url, print_GeoCache_Url, print_MapQuest_Url, print_SideBit_Url, print_DegreeConfluence_Url, print_TopoZone_Url, print_FindU_Url, print_MapTech_Url

includeonlydiv style=clear:both; background-color:#F7F7F7; border:1px solid #CCCCCC; color:#000000; padding:7px; margin:0.5em auto 0.5em auto; vertical-align:middle;See also index of Function Reference and index of Template Tags./div/includeonlynoinclude

Description

This Template is used by Codex:Template Messages.

Usage

pre 检查到模板循环:模板:Message /pre

Result

检查到模板循环:模板:Message

/noinclude