Why won’t my scripts load?

I am having trouble loading scripts in functions.php

I’ve done this before so I’m sure I’m overlooking something but as far as I can tell it is correct and I have tried copying and pasting from other answers. I am not getting any console errors. Help is appreciated.



add_action( ‘wp_enqueue_scripts’, ‘theme_js’ );

function theme_js(){

wp_register_script( ‘bootstrap_min_js’, get_template_directory_uri() . ‘/js/bootstrap.min.js’, array(‘jquery’), ”, true );

wp_enqueue_script( ‘bootstrap_min_js’ );

Read more here:: Why won’t my scripts load?

Leave a Reply

Your email address will not be published. Required fields are marked *