Template Tags/print AcmeMap Url
Материал из WordPress Wiki
Содержание |
Description
Displays the URL to a ACME Mapper generated map for 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 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.
Usage
%%% <?php print_AcmeMap_Url(); ?> %%%
Example
<a href="<?php print_AcmeMap_Url(); ?>">Locate me with ACME Mapper</a>
Parameters
This tag has no parameters.