Twenty Twelve: correctly enqueue the fonts CSS file, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20009 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
326b2db4fa
commit
90df91666c
@ -17,9 +17,6 @@
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
||||
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
|
||||
|
||||
<!-- Google fonts static for now -->
|
||||
<link href="http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700" rel="stylesheet" type="text/css">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
|
||||
<![endif]-->
|
||||
@ -27,6 +24,8 @@
|
||||
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) )
|
||||
wp_enqueue_script( 'comment-reply' );
|
||||
|
||||
wp_enqueue_style( 'fonts', 'http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700' );
|
||||
|
||||
wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() );
|
||||
?>
|
||||
<?php wp_head(); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user