diff --git a/inc/style-wpcom.css b/inc/style-wpcom.css new file mode 100644 index 0000000..d68236a --- /dev/null +++ b/inc/style-wpcom.css @@ -0,0 +1,7 @@ +/* + * Theme Name: Components + * + * Add any WordPress.com-specific CSS here + * + * This file is enqueued in /inc/wpcom.php + */ diff --git a/inc/wpcom.php b/inc/wpcom.php index 685be35..1794036 100755 --- a/inc/wpcom.php +++ b/inc/wpcom.php @@ -30,3 +30,11 @@ function components_wpcom_setup() { add_theme_support( 'print-styles' ); } add_action( 'after_setup_theme', 'components_wpcom_setup' ); + +/* + * WordPress.com-specific styles + */ +function components_wpcom_styles() { + wp_enqueue_style( 'components-wpcom', get_template_directory_uri() . '/inc/style-wpcom.css', '20160411' ); +} +add_action( 'wp_enqueue_scripts', 'components_wpcom_styles' );