WordPress:WPMU Functions/get sitestats
查看全部产品文档命名空间:WordPress
Useful for getting site stats.
You can post stats in your theme sidebar.php by pasting this snippet.
Just paste this code in your theme's sidebar.php
Site Stats
";
echo "There are currently ".$stats[ 'blogs' ]." blogs running on this server and ".$stats[ 'users' ]." users.
";
?>
Cheers!
--Devportals 03:45, 21 June 2008 (UTC)