WordPress:Template Tags/print MapQuest Url
来自站长百科
Description
Displays the URL for a MapQuest generated map of 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.
Usage
%%% <?php print_MapQuest_Url(); ?> %%%
Example
<a href="<?php print_MapQuest_Url(); ?>">MapQuest map of my location</a>
Parameters
This tag has no parameters.