久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔
站長百科 | 數(shù)字化技能提升教程 數(shù)字化時代生存寶典
首頁
數(shù)字化百科
電子書
建站程序
開發(fā)
服務(wù)器
辦公軟件
開發(fā)教程
服務(wù)器教程
軟件使用教程
運營教程
熱門電子書
WordPress教程
寶塔面板教程
CSS教程
Shopify教程
導(dǎo)航
程序頻道
推廣頻道
網(wǎng)賺頻道
人物頻道
網(wǎng)站程序
網(wǎng)頁制作
云計算
服務(wù)器
CMS
論壇
網(wǎng)店
虛擬主機(jī)
cPanel
網(wǎng)址導(dǎo)航
WIKI使用導(dǎo)航
WIKI首頁
最新資訊
網(wǎng)站程序
站長人物
頁面分類
使用幫助
編輯測試
創(chuàng)建條目
網(wǎng)站地圖
站長百科導(dǎo)航
站長百科
主機(jī)偵探
IDCtalk云說
跨境電商導(dǎo)航
WordPress啦
站長專題
網(wǎng)站推廣
網(wǎng)站程序
網(wǎng)站賺錢
虛擬主機(jī)
cPanel
網(wǎng)址導(dǎo)航專題
云計算
微博營銷
虛擬主機(jī)管理系統(tǒng)
開放平臺
WIKI程序與應(yīng)用
美國十大主機(jī)
編輯“
WordPress:WPMU List All Blogs Widget
”
人物百科
|
營銷百科
|
網(wǎng)賺百科
|
站長工具
|
網(wǎng)站程序
|
域名主機(jī)
|
互聯(lián)網(wǎng)公司
|
分類索引
跳轉(zhuǎn)至:
導(dǎo)航
、?
搜索
警告:
您沒有登錄。如果您做出任意編輯,您的IP地址將會公開可見。如果您
登錄
或
創(chuàng)建
一個賬戶,您的編輯將歸屬于您的用戶名,且將享受其他好處。
反垃圾檢查。
不要
加入這個!
This code is the code needed to create a widget to show a list of all blogs. It is dependent on the plug-in [http://wpmudev.org/project/List-All List-All], that should be installed first. Create a blank text file named widget_list_all.php in your plugins folder, add the following php code. You should then be able to activate the List All plugin and the List-All-Blogs Widget on the plugins tab. Then look over in the presentation/widgets tab and you should have a new widget named List All Blogs Widget. 需要這個代碼,創(chuàng)建widget顯示所有博客的列表。取決于插件[http://wpmudev.org/project/List-All List-All],應(yīng)該先安裝這個插件。在你的插件文件夾中創(chuàng)建名為widget_list_all.php的空白文本文件,添加下面的php代碼。然后你就能夠激活插件標(biāo)簽上的List All插件和List-All-Blogs Widget。然后查看呈現(xiàn)/widget標(biāo)簽,你應(yīng)該有個新的稱為All Blogs Widget的widget。 <pre> <?php /* Plugin Name: List-All-Blogs Widget Plugin URI: http://codex.wordpress.org/WPMU_List_All_Blogs_Widget Description: Creates a list of all blogs on a WPMU site as a widget, conversion from previous version based on code in http://www.erik-rasmussen.com/blog/2006/11/30/widgetize-anything/ Author: Unkown - last edited Iolaire McFadden Author URI: http://codex.wordpress.org/WPMU_List_All_Blogs_Widget Version: 0.0.1 */ function widget_list_all_blogs_init() { if ( !function_exists('register_sidebar_widget') ) return; function widget_list_all_blogs($args) { extract($args); if(function_exists(list_all_wpmu_blogs)) { echo $before_widget; echo $before_title . 'All Blogs' . $after_title; echo "<ul>\n"; list_all_wpmu_blogs('100', 'name', '<li>', '</li>', 'updated'); echo "</ul>\n"; echo $after_widget; } else { echo "Error - function list_all_wpmu_blogs not found"; } } if ( function_exists('wp_register_sidebar_widget') ) // fix for wordpress 2.2.1 wp_register_sidebar_widget(sanitize_title('Widgetize list all blogs' ), 'Widgetize list all blogs', 'widget_list_all_blogs', array(), 1); else register_sidebar_widget('Widgetize list all blogs', 'widget_list_all_blogs', 1); } add_action('plugins_loaded', 'widget_list_all_blogs_init'); ?> </pre> <pre> <?php /* 插件名: List-All-Blogs Widget 插件 URI: http://codex.wordpress.org/WPMU_List_All_Blogs_Widget 描述: 在WPMU上創(chuàng)建所有博客列表作為widget,從先前http://www.erik-rasmussen.com/blog/2006/11/30/widgetize-anything/上的代碼為基礎(chǔ),轉(zhuǎn)變 作者: 未知- 最后由 Iolaire McFadden 編輯 作者 URI: http://codex.wordpress.org/WPMU_List_All_Blogs_Widget Version: 0.0.1 */ function widget_list_all_blogs_init() { if ( !function_exists('register_sidebar_widget') ) return; function widget_list_all_blogs($args) { extract($args); if(function_exists(list_all_wpmu_blogs)) { echo $before_widget; echo $before_title . 'All Blogs' . $after_title; echo "<ul>\n"; list_all_wpmu_blogs('100', 'name', '<li>', '</li>', 'updated'); echo "</ul>\n"; echo $after_widget; } else { echo "Error - function list_all_wpmu_blogs not found"; } } if ( function_exists('wp_register_sidebar_widget') ) // fix for wordpress 2.2.1 wp_register_sidebar_widget(sanitize_title('Widgetize list all blogs' ), 'Widgetize list all blogs', 'widget_list_all_blogs', array(), 1); else register_sidebar_widget('Widgetize list all blogs', 'widget_list_all_blogs', 1); } add_action('plugins_loaded', 'widget_list_all_blogs_init'); ?> </pre>
摘要:
請注意,您對站長百科的所有貢獻(xiàn)都可能被其他貢獻(xiàn)者編輯,修改或刪除。如果您不希望您的文字被任意修改和再散布,請不要提交。
您同時也要向我們保證您所提交的內(nèi)容是您自己所作,或得自一個不受版權(quán)保護(hù)或相似自由的來源(參閱
Wordpress-mediawiki:版權(quán)
的細(xì)節(jié))。
未經(jīng)許可,請勿提交受版權(quán)保護(hù)的作品!
取消
編輯幫助
(在新窗口中打開)
取自“
http://www.kktzf.com.cn/wiki/WordPress:WPMU_List_All_Blogs_Widget
”