'ffffff', 'border' => 'f7f7f7', 'text' => '333A42', 'link' => '426f86', 'url' => '426f86', ); endif; add_theme_support( 'print-style' ); } add_action( 'after_setup_theme', 'plane_theme_support' ); /** * WordPress.com specific styles */ function plane_wpcom_styles() { wp_enqueue_style( 'plane-wpcom', get_template_directory_uri() . '/inc/style-wpcom.css', '20141204' ); } add_action( 'wp_enqueue_scripts', 'plane_wpcom_styles' ); /** * De-queue Google fonts if custom fonts are being used instead. */ function plane_dequeue_fonts() { if ( class_exists( 'TypekitData' ) && class_exists( 'CustomDesign' ) && CustomDesign::is_upgrade_active() ) { $customfonts = TypekitData::get( 'families' ); if ( $customfonts && $customfonts['headings']['id'] && $customfonts['body-text']['id'] ) { wp_dequeue_style( 'plane-fonts' ); } } } add_action( 'wp_enqueue_scripts', 'plane_dequeue_fonts' );