Ticket #21230: 21230.2.diff
File 21230.2.diff, 1.0 KB (added by , 13 years ago) |
---|
-
wp-content/themes/twentytwelve/functions.php
103 103 * JavaScript for handling navigation menus and the resized 104 104 * styles for small screen sizes. 105 105 */ 106 wp_enqueue_script( ' navigation', get_template_directory_uri() . '/js/theme.js', array( 'jquery' ), '20130320', true );106 wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/theme.js', array( 'jquery' ), '20130320', true ); 107 107 108 108 /** 109 109 * Load special font CSS file. … … 111 111 */ 112 112 $options = $twentytwelve_options->get_theme_options(); 113 113 if ( $options['enable_fonts'] ) 114 wp_enqueue_style( ' fonts', 'http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700' );114 wp_enqueue_style( 'twentytwelve-fonts', 'http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700' ); 115 115 116 116 /** 117 117 * Load our main CSS file.