From 8de2e8101807585070e4293930095009f9382ce1 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Tue, 14 Feb 2012 16:55:40 +0000 Subject: [PATCH] _s: enqueue style.css for consistency and for more customization through child themes of themes built on _s git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8938 d957f892-c61d-0410-b221-f235e6eecf30 --- functions.php | 4 +++- header.php | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index d3d34d21..1b61f60c 100644 --- a/functions.php +++ b/functions.php @@ -97,11 +97,13 @@ function _s_widgets_init() { add_action( 'widgets_init', '_s_widgets_init' ); /** - * Enqueue scripts + * Enqueue scripts and styles */ function _s_scripts() { global $post; + wp_enqueue_style( 'style', get_template_directory_uri() . '/style.css' ); + wp_enqueue_script( 'jquery' ); wp_enqueue_script( 'small-menu', get_template_directory_uri() . '/js/small-menu.js', 'jquery', '20120206', true ); diff --git a/header.php b/header.php index 239a3a8a..90f9891e 100644 --- a/header.php +++ b/header.php @@ -34,7 +34,6 @@ ?> -