Get JS not registered
-
Hi, I build a blog based on bootstrap and want to enable JS. This is my code in the function.php :
function twentySven_register_scripts() { wp_enqueue_script( 'twentySven-js', get_template_directory_uri() . '/assets/js/script.js'); } add_action( 'wp_enqueue_scripts', 'twentySven_register_scripts' );
This is my file structure:
themes
-twentySven
–assets
—js
—-script.jsThank you for your help ??
Best,
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Get JS not registered’ is closed to new replies.