get( 'Version' ); wp_enqueue_style( 'twentyten-wpcom-style', get_template_directory_uri() . '/style-wpcom.css', array(), $version ); } add_action( 'wp_enqueue_scripts', 'twentyten_wpcom_styles' ); /** * Set theme colors for WordPress.com. */ if ( ! isset( $themecolors ) ) { $themecolors = array( 'bg' => 'ffffff', 'text' => '333333', 'link' => '0066cc', 'border' => 'cccccc', 'url' => 'ff4b33', ); } /** * Sets up defaults for wp.com-specific functionality */ function twentyten_wpcom_setup() { add_theme_support( 'video-header' ); } add_action( 'after_setup_theme', 'twentyten_wpcom_setup' ); /** * Whether a video header has been set up. * * @return bool */ function twentyten_has_video_header() { return apply_filters( 'wpcom_has_video_header', false ); } /** * Displays header video * * @return void */ function twentyten_video_header() { do_action( 'wpcom_video_header' ); }