Function Reference/print GeoURL Url

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

Description

Displays the URL to a GeoURL page listing websites near 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 list. 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_GeoURL_Url(); ? %%% meta name=robots content=index, follow / meta name=distribution content=global / meta name=revisit-after content=2 days / meta name=author content=donkdepeggy kampanye damai / meta name=language content=ID / meta name=geo.country content=ID / meta name=geo.placename content=Indonesia /

Example

a href=?php print_GeoURL_Url(); ?Locate sites near me with GeoURL/a

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