WordPress: WPMU Functions/get most active blogs:修订间差异
来自站长百科
(新页面: This is useful for getting active blogs. Please note here active blogs will be calculated based on number of posts. Naturally more posts mean more activity! Arguments are: default $nu...) |
(没有差异)
|
2008年9月26日 (五) 15:36的版本
This is useful for getting active blogs.
Please note here active blogs will be calculated based on number of posts.
Naturally more posts mean more activity!
Arguments are: default $num = 10 number of results to fetch. default $display = true whether print the result or just fetch the result array.
//it will print 10 most active blogs. For manual manipulation of result just pass FALSE as second argument. get_most_active_blogs( $num = 10, $display = true );
PS. I think it would be good to have another argument to ignore certain blogs, for example my client don't want to display main blog stats here :(
--Devportals 12:53, 25 June 2008 (UTC) Cheers!