Function Reference/print UrlPopNav

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

Description

Displays a dropdown menu, of which each option is a link opening in a new browser window the mentioned geodata-related site. If the tag is called from within The_Loop, the Latitude and Longitude entered for a post are queried at each site. 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 are queried.

Link options in the dropdown menu are:

  • Acme Mapper
  • GeoURLs near here
  • GeoCaches near here
  • MapQuest map of this spot
  • SideBit URL map of this spot
  • Confluence.org near here
  • Topozone near here
  • FindU near here
  • Maptech near here

Usage

%%% ?php print_UrlPopNav(); ? %%%

Example

lt;divgt;Choose Geo site: ?php print_UrlPopNav(); ?lt;/divgt;

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