Hi,
I have downloaded bootstrap 3 and placed it in a ‘bootstrap’ folder in my root directory.
I believe I have enqueued it in functions.php appropriately, but I can’t get BS styles to render on the front end.
Any help appreciated.
functions.php excerpt:
+ // Add Bootstrap
+ wp_register_script( 'bootstrap-js', get_template_directory_uri() . '/bootstrap/js/bootstrap.min.js', array( 'jquery' ), '3.0.1', true );
+ wp_register_style( 'bootstrap-css', get_template_directory_uri() . '/bootstrap/css/bootstrap.min.css', array(), '3.0.1', 'all' );
+ wp_enqueue_script( 'bootstrap-js' );
+
+ wp_enqueue_style( 'bootstrap-css' );
+
+ // Prevent WordPress from automatically inserting HTML line breaks in posts
+ remove_filter('the_content', 'wpautop');