$v) { if($v == "1") $dbox_arr[] = $adm_remove_dash_box; } // var_dump($dbox_arr); foreach( $dbox_arr as $dbox ) { // remove_meta_box( 'dashboard_right_now', 'dashboard', 'core' ); // Right Now Widget remove_meta_box( $dbox, 'dashboard', 'core' ); // Comments Widget } } // if(in_array("bootstrap",$less_rsrcs_arr) ) echo ''; // if(in_array("fontawesome",$less_rsrcs_arr) ) echo ''; /* have more plugin widgets you'd like to remove? share them with us so we can get a list of the most commonly used. :D https://github.com/eddiemachado/bones/issues */ } } /* Now let's talk about adding your own custom Dashboard widget. Sometimes you want to show clients feeds relative to their site's content. For example, the NBA.com feed for a sports site. Here is an example Dashboard Widget that displays recent entries from an RSS Feed. For more information on creating Dashboard Widgets, view: http://digwp.com/2010/10/customize-wordpress-dashboard/ */ // RSS Dashboard Widget function bones_rss_dashboard_widget() { if ( function_exists( 'fetch_feed' ) ) { include_once( ABSPATH . WPINC . '/feed.php' ); // include the required file $feed = fetch_feed( 'http://eodepo.com/?cat=4&feed=rss2' ); // specify the source feed $limit = $feed->get_item_quantity(3); // specify number of items $items = $feed->get_items(0, $limit); // create an array of items } if ($limit == 0) echo '
get_description(), 0, 200); ?>