generators/wp_fire/functions/functions.php.erb in wp-fire-0.0.4 vs generators/wp_fire/functions/functions.php.erb in wp-fire-0.0.5
- old
+ new
@@ -8,13 +8,10 @@
* Add theme styles and scripts here
*/
function <%= theme_id %>_enqueue_scripts() {
if ( ! is_admin() ) {
- wp_enqueue_style(
- '<%= theme_id %>-style',
- get_bloginfo( 'stylesheet_url' )
- );
+ wp_enqueue_script('theme', get_stylesheet_directory_uri() . '/theme.js', 'jquery', null);
}
}
endif; // <%= theme_id %>_enqueue_scripts