Function Reference/print Lon

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

Description

Displays the Geographic (geodata) Options Longitude setting. If the tag is called from within 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

lt;pgt;Trip locale: ?php print_Lat(); ?Lat, ?php print_Lon(); ?Lonlt;/pgt;

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