title: how to install bootstrap using local files
body: <p>I just realized that my site has not been using the local files of bootstrap and was getting theme via CDN.  I've now been trying to figure out how to switch from CDN to using the local files, but every time I attempt to switch them my whole site becomes messed up. I have the bootstrap css files in a css folder as well as the js files in a js folder. Can anyone help me get bootstrap from my local files?</p>
  
  <p>This probably seems like an easy question however I'm still pretty new at this, so I'm completely lost.</p>
  
  <p>what I had before in my functions.php...</p>
  
  <pre><code>function learningWordPress_resources() {
      wp_enqueue_style('style', get_stylesheet_uri());
      wp_enqueue_script( 'bootstrap-js', 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css', array('jquery'), '3.3.7', true );
      wp_enqueue_style( 'bootstrap-style', 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css' );
  }
  
  add_action('wp_enqueue_scripts', 'learningWordPress_resources');
  </code></pre>
  
  <p>what I tried to switch it too...</p>
  
  <pre><code>function learningWordPress_resources() {
      wp_enqueue_style( 'bootstrapstyle', get_template_directory_uri() . '/css/bootstrap.min.css' );
      wp_enqueue_style( 'bootstrapthemestyle', get_template_directory_uri() . '/css/bootstrap-theme.min.css' );
      wp_enqueue_script( 'bootstrap-script', get_template_directory_uri() . '/js/bootstrap.min.js', array(), true );
  }
  
  add_action('wp_enqueue_scripts', 'learningWordPress_resources');
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/uczLa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uczLa.png" alt="enter image description here"></a></p>