Template Tags/print SideBit Url
Материал из WordPress Wiki
Содержание |
Description
Displays the URL for a SideBit generated map of sites in 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_SideBit_Url(); ?> %%%
Example
<a href="<?php print_SideBit_Url(); ?>">SideBit map of my location</a>
Parameters
This tag has no parameters.