数字化技能提升教程,数字化时代生存宝典

数字化百科 / 产品文档 / WordPress:WPMU Functions/get sitestats

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)