'ffffff', 'border' => 'eeeeee', 'text' => '555555', 'link' => 'ff706c', 'url' => 'ff706c', ); } } add_action( 'after_setup_theme', 'wilson_wpcom_setup' ); //WordPress.com specific styles function wilson_wpcom_styles() { wp_enqueue_style( 'wilson-wpcom', get_template_directory_uri() . '/inc/style-wpcom.css', '040214' ); wp_enqueue_script( 'wilson-wpcom-functions', get_template_directory_uri() . '/inc/script-wpcom.js', array( 'jquery' ), '20141111', true ); } add_action( 'wp_enqueue_scripts', 'wilson_wpcom_styles' ); /* * De-queue Google fonts if custom fonts are being used instead */ function wilson_dequeue_fonts() { if ( class_exists( 'TypekitData' ) && class_exists( 'CustomDesign' ) && CustomDesign::is_upgrade_active() ) { $customfonts = TypekitData::get( 'families' ); if ( $customfonts && $customfonts['site-title']['id'] && $customfonts['headings']['id'] && $customfonts['body-text']['id'] ) { wp_dequeue_style( 'wilson-raleway' ); wp_dequeue_style( 'wilson-latos' ); } } } add_action( 'wp_enqueue_scripts', 'wilson_dequeue_fonts' ); /** * Adds support for WP.com print styles */ function wilson_theme_support() { add_theme_support( 'print-style' ); } add_action( 'after_setup_theme', 'wilson_theme_support' );