Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Shall I add the enqueue for bootstrap in callscripts.php before the style.css load ? Or where else shall i place it so it works right ?

    Hi, I enqueued those 2 Bootstrap files in functions.php.

    function theme_add_bootstrap() {
    	wp_enqueue_style( 'bootstrap-css', get_template_directory_uri() . '/bootstrap/css/bootstrap.min.css' );
    	wp_enqueue_script( 'bootstrap-js', get_template_directory_uri() . '/bootstrap/js/bootstrap.min.js', array(), '3.0.0', true );
    }
     
    add_action( 'wp_enqueue_scripts', 'theme_add_bootstrap' );
Viewing 2 posts - 1 through 2 (of 2 total)