I don't think WordPress is loading jquery or bootstrap js

I'm building a WordPress theme and I've used the code from https://codeinhouse.com/how-to-create-custom-post-type-slider-in-wordpress-without-plugin/ to build my slider I've also used https://github.com/wp-bootstrap/wp-bootstrap-navwalker I have both jquery and bootstrap both linked to the site they appear in inspect element however they do not seem to be running as my drop down navigation does not work on mobile size and the slider doesn't slide

function wpbootstrap_enqueue_styles() {
    wp_enqueue_style( 'bootstrap', get_template_directory_uri() . '/css/bootstrap.css' );
    wp_enqueue_style( 'my-style', get_template_directory_uri() . '/css/style.css');
    wp_enqueue_script('bootstrap-js', get_template_directory_uri() . '/js/bootstrap.js', array('jquery'), NULL, true);
    wp_enqueue_script('jquery-js', get_template_directory_uri() . '/js/jquery.js', array('jquery'), NULL, true);
}
add_action('wp_enqueue_scripts', 'wpbootstrap_enqueue_styles');

Topic twitter-bootstrap jquery theme-development Wordpress

Category Web


WordPress is loading jQuery as default.

You basicly telling WordPress to load your jquery-js after the jquery script from WordPress.

The Nav_Walker class you are using is related to Bootstrap Version 3. Which Version of Bootstrap are you loading? Without knowing your code, I think I'm guessing that the Boostrap version does not cope with the current markup.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.