title: Loading jquery library and jquery scripts in Wordpress
body: <p>I have found a lot of conflicting information about this on the internet. Some sites say that Wordpress automatically loads jquery, and others say you have to load it in functions.php</p>
  
  <p>I want to enqueue a script in functions.php that is dependant on jquery. I read that you have to specificy jquery as the $deps parameter</p>
  
  <p>My code is:</p>
  
  <pre><code>wp_enqueue_script( 'my-file', get_stylesheet_directory_uri() . '/js/my-file.js', array('jquery'), null, false);
  </code></pre>
  
  <p>is specifying jquery in the $deps parameter enough? Will wordpress then automatically load jquery too? <strong>Or do I actually have to enqueue jquery as a script as well?</strong></p>
  
  <p>My code above loads "my-file.js" but the script isn't working which tells me that either jquery isn't being loaded or there is sitll a dependency issue.</p>