WIKI使用導(dǎo)航
站長百科導(dǎo)航
站長專題
- 網(wǎng)站推廣
- 網(wǎng)站程序
- 網(wǎng)站賺錢
- 虛擬主機(jī)
- cPanel
- 網(wǎng)址導(dǎo)航專題
- 云計(jì)算
- 微博營銷
- 虛擬主機(jī)管理系統(tǒng)
- 開放平臺
- WIKI程序與應(yīng)用
- 美國十大主機(jī)
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...) ? |
無編輯摘要 ? |
||
第1行: | 第1行: | ||
This is useful for getting active blogs. | This is useful for getting active blogs. | ||
這個(gè)函數(shù)有利于得到active blogs。 | |||
Please note here active blogs will be calculated based on number of posts. | Please note here active blogs will be calculated based on number of posts. | ||
請注意這里的active blogs根據(jù)文章數(shù)目計(jì)算的。 | |||
Naturally more posts mean more activity! | Naturally more posts mean more activity! | ||
一般而言,文章更多,表示博客更活躍! | |||
Arguments are: ? | Arguments are: ? | ||
參數(shù)是: | |||
default $num = 10 number of results to fetch. | default $num = 10 number of results to fetch. | ||
default $display = true whether print the result or just fetch the result array. | default $display = true whether print the result or just fetch the result array. | ||
第12行: | 第20行: | ||
get_most_active_blogs( $num = 10, $display = true ); ? | get_most_active_blogs( $num = 10, $display = true ); ? | ||
</pre> ? | </pre> ? | ||
default $num = 取回10個(gè)結(jié)果。 | |||
default $display = 不管輸出結(jié)果或者取回結(jié)果數(shù)目,都是正確的。 | |||
<pre> | |||
//會輸出10個(gè)最活躍的博客。要?jiǎng)邮植僮鹘Y(jié)果,只要將FALSE傳遞為第二個(gè)參數(shù)即可。 | |||
get_most_active_blogs( $num = 10, $display = true ); | |||
</pre> | |||
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 :( | 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 :( | ||
附言 我覺得使得另一個(gè)參數(shù)忽視某個(gè)博客,較好,例如,我的用戶不希望在這里顯示主要的博客統(tǒng)計(jì)數(shù)據(jù):( | |||
--[[User:Devportals|Devportals]] 12:53, 25 June 2008 (UTC)? ? ? ? ? ? ? ? ? ? ? | --[[User:Devportals|Devportals]] 12:53, 25 June 2008 (UTC)? ? ? ? ? ? ? ? ? ? ? | ||
Cheers! | Cheers! | ||
--[[User:Devportals|Devportals]]2008年6月25日, 12:53 (格林尼治標(biāo)準(zhǔn)時(shí)間)? ? ? ? ? ? ? ? ? ? | |||
Cheers! | |||
開心起來! |
2008年9月26日 (五) 16:09的最新版本
This is useful for getting active blogs.
這個(gè)函數(shù)有利于得到active blogs。
Please note here active blogs will be calculated based on number of posts.
請注意這里的active blogs根據(jù)文章數(shù)目計(jì)算的。
Naturally more posts mean more activity!
一般而言,文章更多,表示博客更活躍!
Arguments are: 參數(shù)是:
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 );
default $num = 取回10個(gè)結(jié)果。 default $display = 不管輸出結(jié)果或者取回結(jié)果數(shù)目,都是正確的。
//會輸出10個(gè)最活躍的博客。要?jiǎng)邮植僮鹘Y(jié)果,只要將FALSE傳遞為第二個(gè)參數(shù)即可。 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 :(
附言 我覺得使得另一個(gè)參數(shù)忽視某個(gè)博客,較好,例如,我的用戶不希望在這里顯示主要的博客統(tǒng)計(jì)數(shù)據(jù):(
--Devportals 12:53, 25 June 2008 (UTC) Cheers!
--Devportals2008年6月25日, 12:53 (格林尼治標(biāo)準(zhǔn)時(shí)間)
Cheers!
開心起來!