* Since function recent_comments_style() in wp-includes\default-widgets.php * checks for show_recent_comments_widget_style to be true, lets make it false * so it will not display inline css. * .recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;} * @link http://codex.wordpress.org/Function_Reference/_return_false */ function bigblank_remove_recent_comments_style() { add_filter('show_recent_comments_widget_style', '__return_false'); } add_action('widgets_init', 'bigblank_remove_recent_comments_style'); /** * Register Big Blank widget areas. * * @return void */ function bigblank_widgets_init() { // Main sidebar register_sidebar(array( 'id' => 'sidebar', 'name' => __('Primary Sidebar', 'bigblank'), 'description' => __('Sidebar appears next to content.', 'bigblank'), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', )); // Call to action block register_sidebar(array( 'id' => 'call2action', 'name' => __('Footer Call to Action', 'bigblank'), 'description' => __('This "Call to Action" area appears after our content', 'bigblank'), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', )); // Footer sidebar register_sidebar(array( 'id' => 'footer', 'name' => __('Footer', 'bigblank'), 'description' => __('Footer widget area', 'bigblank'), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', )); // Register Widgets // @param string $widget_class The name of a class that extends WP_Widget register_widget('Title_Widget'); register_widget('Call_To_Action_Widget'); } add_action('widgets_init', 'bigblank_widgets_init');