编辑“WordPress:WPMU Functions/get site option

跳转至: 导航、​ 搜索
警告:您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您登录创建一个账户,您的编辑将归属于您的用户名,且将享受其他好处。

该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。

最后版本 您的文本
第1行: 第1行:
Useful for getting site stats.
Useful for getting site stats.
有利于得到站点统计数据。


You can post stats in your theme sidebar.php by pasting this snippet.
You can post stats in your theme sidebar.php by pasting this snippet.
通常粘贴这个snippet,你可以在你的主题sidebar.php中发表统计数据。


Just paste this code in your theme's sidebar.php  
Just paste this code in your theme's sidebar.php  
只要将这个代码粘贴到你的主题的sidebar.php
<pre>
<pre>
<?php
<?php
<h2 class="storytitle">Site Stats</h2>";
<h2 class="storytitle">Site Stats</h2>";
     echo "There are currently ".$stats[ 'blogs' ]." blogs running on this server and ".$stats[ 'users' ]." users.<br />";
     echo "There are currently ".$stats[ 'blogs' ]." blogs running on this server and ".$stats[ 'users' ]." users.<br />";
?>
</pre>
<pre>
<?php
<h2 class="storytitle">Site Stats</h2>";
    echo "现在有 ".$stats[ '博客' ]." 博客运行在这个服务器上,有".$stats[ '用户' ]." 用户。<br />";
?>
?>
</pre>
</pre>


Cheers!
Cheers!
祝贺!
--[[WordPress:User:Devportals|Devportals]] 03:45, 21 June 2008 (UTC)
--[[WordPress:User:Devportals|Devportals]] 03:45, 21 June 2008 (UTC)
--[[WordPress:User:Devportals|Devportals]]2008年6月21日, 03:45 (格林尼治标准时间)
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅Wordpress-mediawiki:版权的细节)。 未经许可,请勿提交受版权保护的作品!
取消 编辑帮助(在新窗口中打开)