skip to Main Content

Problems enqeue scripts in wordpress (going nuts)

I'm trying to enqeue a custom.js in my wordpress theme created from scratch. Here's what I have; Here's what I have tried functions.php <?php function add_theme_scripts() { wp_enqueue_style('default-style', get_stylesheet_directory_uri() .'/style.css'); wp_enqueue_style('bootstrap-style', get_stylesheet_directory_uri() .'/css/bootstrap.min.css'); // Dequeue WordPress included jQuery wp_deregister_script('jquery'); wp_enqueue_script('jquery',…

VIEW QUESTION
Back To Top
Search