WordPress: Template Tags/print GeoURL Url:修订间差异
来自站长百科
(新页面: == Description == Displays the URL to a [http://www.geourl.org/ GeoURL] page listing websites near your location. If the tag is called from within [[Wo...) |
无编辑摘要 |
||
第1行: | 第1行: | ||
== Description == | == Description == | ||
== 描述 == | |||
Displays the [[WordPress:Glossary#URI and URL|URL]] to a [http://www.geourl.org/ GeoURL] page listing websites near your location. If the tag is called from within [[WordPress:The_Loop]], the Latitude and Longitude entered for a post is inserted in the [[WordPress:Glossary#Query string|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. | Displays the [[WordPress:Glossary#URI and URL|URL]] to a [http://www.geourl.org/ GeoURL] page listing websites near your location. If the tag is called from within [[WordPress:The_Loop]], the Latitude and Longitude entered for a post is inserted in the [[WordPress:Glossary#Query string|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. | ||
向在你的地址附近列出网站的[http://www.geourl.org/ GeoURL]网页,显示[[WordPress:Glossary#URI and URL|URL]]。如果标签是从[[WordPress:The_Loop|The Loop]]内调用的,为一篇文章输入的Latitude 和Longitude插入到列表URL的[[WordPress:Glossary#Query string|查询字符串]]中。当从Loop外调用参数(或者从Loop内调用参数,但是没有为文章输入Lat/Lon)的时候,网络日志默认的Latitude 和Longitude插入进一个查询字符串中。 | |||
== Usage == | == Usage == | ||
%%% <?php print_GeoURL_Url(); ?> %%% | |||
== 用法 == | |||
%%% <?php print_GeoURL_Url(); ?> %%% | %%% <?php print_GeoURL_Url(); ?> %%% | ||
第10行: | 第18行: | ||
<a href="<?php print_GeoURL_Url(); ?>">Locate sites near me with GeoURL</a> | <a href="<?php print_GeoURL_Url(); ?>">Locate sites near me with GeoURL</a> | ||
== 例子 == | |||
<a href="<?php print_GeoURL_Url(); ?>">用GeoURL将站点定位在我附近</a> | |||
== Parameters == | == Parameters == | ||
This tag has no parameters. | This tag has no parameters. | ||
== 参数== | |||
这个标签没有参数。 | |||
== Related == | == Related == | ||
第20行: | 第35行: | ||
{{No Param Tag Footer}} | {{No Param Tag Footer}} | ||
== 相关的 == | |||
{{标签 Geo标签}} | |||
{{没有Param 标签 页底文字}} |
2008年7月5日 (六) 10:45的版本
Description
描述
Displays the URL to a GeoURL page listing websites near your location. If the tag is called from within WordPress: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.
向在你的地址附近列出网站的GeoURL网页,显示URL。如果标签是从The Loop内调用的,为一篇文章输入的Latitude 和Longitude插入到列表URL的查询字符串中。当从Loop外调用参数(或者从Loop内调用参数,但是没有为文章输入Lat/Lon)的时候,网络日志默认的Latitude 和Longitude插入进一个查询字符串中。
Usage
%%% <?php print_GeoURL_Url(); ?> %%%
用法
%%% <?php print_GeoURL_Url(); ?> %%%
Example
<a href="<?php print_GeoURL_Url(); ?>">Locate sites near me with GeoURL</a>
例子
<a href="<?php print_GeoURL_Url(); ?>">用GeoURL将站点定位在我附近</a>
Parameters
This tag has no parameters.
参数
这个标签没有参数。