title: How to load bootstrap script and style in functions.php (wordpress)?
body: <p>I converted bootstrap theme to wordpress. Now, I have a problem in loading the bootstrap scripts and style.
  This is my code in functions.php</p>
  
  <pre><code>   function wpbootstrap_scripts_with_jquery()
      {
  
          // Register the script like this for a theme:
          wp_register_script( 'custom-script', get_template_directory_uri() . '/js/bootstrap.js', array( 'jquery' ) );
          wp_enqueue_script( 'samplejs', get_template_directory_uri() . '/js/jquery.min.js', array( '' ) );
              wp_enqueue_script( 'samplejs', get_template_directory_uri() . '/js/clean-blog.min.js', array( '' ) );
          // For either a plugin or a theme, you can then enqueue the script:
          wp_enqueue_script( 'custom-script' );
      }
  
  add_action( 'wp_enqueue_scripts', 'wpbootstrap_scripts_with_jquery' );
  </code></pre>
  
  <p>and i add this in my header </p>
  
  <pre><code>&lt;?php wp_enqueue_script("jquery"); ?&gt;
  </code></pre>
  
  <p>Additional question:
  What is the difference between wp_register and wp_enqueue?
  Please help me. Im beginner in using bootstrap.</p>