WordPress:Template Tags/print Lat
查看全部产品文档命名空间:WordPress
描述
显示Geographic (geodata) Options Latitude设置。如果标签从[WordPress:The_Loop|The_Loop]]内调用,为一篇文章属于的Latitude得到了显示。当从Loop外调用这个标签的时候(或者在Loop内调用但是没有为文章输入Latitude),显示了网络日志的默认Latitude设置。
用法
%%% <?php print_Lat(); ?> %%%
Example
<p>Trip locale: <?php print_Lat(); ?>Lat, <?php print_Lon(); ?>Lon</p>
参数
这个标签没有参数。