'#f6f5ed', 'border' => '333333', 'text' => '222222', 'link' => '666666', 'url' => '666666', ); } // Add print stylesheet. add_theme_support( 'print-style' ); } add_action( 'after_setup_theme', 'cols_wpcom_setup' ); /** * Enqueue wp.com-specific styles */ function cols_wpcom_styles() { wp_enqueue_style( 'cols-wpcom', get_template_directory_uri() . '/css/wpcom.css', '20141017' ); } add_action( 'wp_enqueue_scripts', 'cols_wpcom_styles' ); /** * De-queue Google fonts if custom fonts are being used instead. */ function cols_dequeue_fonts() { if ( class_exists( 'TypekitData' ) && class_exists( 'CustomDesign' ) && CustomDesign::is_upgrade_active() ) { $customfonts = TypekitData::get( 'families' ); if ( $customfonts['headings']['id'] && $customfonts['body-text']['id'] ) { wp_dequeue_style( 'cols-sourcesanspro' ); wp_dequeue_style( 'cols-sourceserifpro' ); } } } add_action( 'wp_enqueue_scripts', 'cols_dequeue_fonts' ); /** * Remove the widont filter. */ function expound_wido() { remove_filter( 'the_title', 'widont' ); } add_action( 'init', 'expound_wido' );