Skip to content

Commit

Permalink
_s: enqueue style.css for consistency and for more customization thro…
Browse files Browse the repository at this point in the history
…ugh child themes of themes built on _s

git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8938 d957f892-c61d-0410-b221-f235e6eecf30
  • Loading branch information
ianstewart committed Feb 14, 2012
1 parent 7aa2224 commit 8de2e81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion functions.php
Expand Up @@ -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 );
Expand Down
1 change: 0 additions & 1 deletion header.php
Expand Up @@ -34,7 +34,6 @@

?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
Expand Down

0 comments on commit 8de2e81

Please sign in to comment.