forked from mirror/_s
_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
This commit is contained in:
parent
7aa2224a74
commit
8de2e81018
|
@ -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 );
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in New Issue