WordPress: Template Tags/print SideBit Url:修订间差异
来自站长百科
(新页面: == Description == Displays the URL for a [http://www.sidebit.com/ SideBit] generated map of sites in your location. If the tag is called from within [[...) |
无编辑摘要 |
||
(未显示另一用户的1个中间版本) | |||
第1行: | 第1行: | ||
== | == 描述 == | ||
显示[http://www.sidebit.com/ SideBit]的[WordPress:Glossary#URI and URL|URL]],[http://www.sidebit.com/ SideBit]是你的位置的站点产生的map。如果标签是从[[WordPress:The_Loop|The Loop]]内调用的,为一篇文章输入的Latitude 和Longitude插入到用于产生map的URL的[[WordPress:Glossary#Query string|查询字符串]]中。当从Loop外调用参数(或者从Loop内调用参数,但是没有为文章输入Lat/Lon)的时候,网络日志默认的Latitude 和Longitude插入进查询字符串中。 | |||
== | == 用法 == | ||
%%% <?php print_SideBit_Url(); ?> %%% | %%% <?php print_SideBit_Url(); ?> %%% | ||
== | == 例子== | ||
<a href="<?php print_SideBit_Url(); ?>">SideBit map of my location</a> | <a href="<?php print_SideBit_Url(); ?>">SideBit map of my location</a> | ||
== | == 参数== | ||
这个标签没有参数。 | |||
== 相关的 == | |||
{{标签 Geo标签}} | |||
{{ | {{没有Param 标签 页底文字}} | ||
2008年7月15日 (二) 17:15的最新版本
描述[ ]
显示SideBit的[WordPress:Glossary#URI and URL|URL]],SideBit是你的位置的站点产生的map。如果标签是从The Loop内调用的,为一篇文章输入的Latitude 和Longitude插入到用于产生map的URL的查询字符串中。当从Loop外调用参数(或者从Loop内调用参数,但是没有为文章输入Lat/Lon)的时候,网络日志默认的Latitude 和Longitude插入进查询字符串中。
用法[ ]
%%% <?php print_SideBit_Url(); ?> %%%
例子[ ]
<a href="<?php print_SideBit_Url(); ?>">SideBit map of my location</a>
参数[ ]
这个标签没有参数。