ID:7781528
大小:74.00 KB
页数:10页
时间:2018-02-25
2、desdashboard.php注释掉下面几句代码。//Primaryfeed(DevBlog)Widgetif(!isset($widget_options['dashboard_primary'])){$update=true;$widget_options['dashboard_primary']=array('link'=>apply_filters('dashboard_primary_link',__('http://wordpress.org/development/')),'url'=>apply_filters('dashbo
3、ard_primary_feed',__('http://wordpress.org/development/feed/')),'title'=>apply_filters('dashboard_primary_title',__('WordPressDevelopmentBlog')),'items'=>2,'show_summary'=>1,'show_author'=>0,'show_date'=>1);}wp_add_dashboard_widget('dashboard_primary',$widget_options['dashboa
4、rd_primary']['title'],'wp_dashboard_primary','wp_dashboard_primary_control');B.删除相关新闻,在wp-adminincludesdashboard.php注释掉下面几句代码。if(!isset($widget_options['dashboard_secondary'])){$update=true;$widget_options['dashboard_secondary']=array('link'=>apply_filters('dashboard_second
5、ary_link',__('http://planet.wordpress.org/')),'url'=>apply_filters('dashboard_secondary_feed',__('http://planet.wordpress.org/feed/')),'title'=>apply_filters('dashboard_secondary_title',__('OtherWordPressNews')),'items'=>5);}wp_add_dashboard_widget('dashboard_secondary',$widg
6、et_options['dashboard_secondary']['title'],'wp_dashboard_secondary','wp_dashboard_secondary_control');A.删除相关插件if(current_user_can('activate_plugins'))wp_add_dashboard_widget('dashboard_plugins',__('Plugins'),'wp_dashboard_plugins');B.删除引用链接//IncomingLinksWidgetif(!isset($widg
7、et_options['dashboard_incoming_links'])
8、
此文档下载收益归作者所有