Closed sakinshrestha closed 8 years ago
functions.php
wp_register_script()
wp_enqueue_script()
wp_register_script( 'modernizr', trailingslashit( get_template_directory_uri() ) . 'js/modernizr-min.js', array(), '3.3.1', false ); wp_enqueue_script( 'modernizr' );
Should simply be:
wp_enqueue_script( 'modernizr', trailingslashit( get_template_directory_uri() ) . 'js/modernizr-min.js', array(), '3.3.1', false );
wp_register_style()
wp_enqueue_style()
Closed by #39
functions.php
, you don't need to callwp_register_script()
andwp_enqueue_script()
. Just callwp_enqueue_script()
:Should simply be:
wp_register_style()
andwp_enqueue_style()