'f5f5f5', 'border' => '666666', 'text' => '444444', 'link' => 'a52020', 'url' => 'a52020', ); endif; /** * Adds support for WP.com print styles */ add_theme_support( 'print-style' ); } add_action( 'after_setup_theme', 'museum_wpcom_setup' ); /* * De-queue Google fonts if custom fonts are being used instead */ function museum_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( 'museum-fonts' ); } } } add_action( 'wp_enqueue_scripts', 'museum_dequeue_fonts' ); /* * WordPress.com specific styles */ function museum_wpcom_styles() { wp_enqueue_style( 'museum-wpcom', get_template_directory_uri() . '/inc/style-wpcom.css', '20141011' ); } add_action( 'wp_enqueue_scripts', 'museum_wpcom_styles' );