WordPress:Template Tags/print Lon
来自站长百科
Description
Displays the Geographic (geodata) Options Longitude setting. If the tag is called from within WordPress:The_Loop, the Longitude entered for a post is displayed. When called outside The Loop (or inside The Loop, but no Longitude was entered for a post), the default Longitude setting for the weblog is displayed.
Usage
%%% <?php print_Lon(); ?> %%%
Example
<p>Trip locale: <?php print_Lat(); ?>Lat, <?php print_Lon(); ?>Lon</p>
Parameters
This tag has no parameters.