title: css and javascript under functions.php not working from WordPress
body: <p>
  
  <p>// calling styles</p>
  
  <p>function calling_resources(){</p>
  
  <p>// Slider for css</p>
  
  <pre><code>wp_enqueue_style( 'css', get_template_directory_uri() . './assets/css/flex-slider.css', '', '1.0.0');
  </code></pre>
  
  <p>// Fontawsome css for icons</p>
  
  <pre><code>wp_enqueue_style( 'css', get_template_directory_uri() . './assets/css/fontawesome.css', '', '1.0.0');
  </code></pre>
  
  <p>// Bootstrap for styling layouts</p>
  
  <pre><code>wp_enqueue_style( 'css', get_template_directory_uri() . './vendor/bootstrap/css/bootstrap.css', '', '1.0.0');
  
  wp_enqueue_style( 'css', get_template_directory_uri() . './vendor/bootstrap/css/bootstrap.min.css', '', '1.0.0');
  </code></pre>
  
  <p>// Core style.css</p>
  
  <pre><code>wp_enqueue_style( 'style', get_stylesheet_uri());
  </code></pre>
  
  <p>// Bootstrap core JavaScript   </p>
  
  <pre><code>wp_enqueue_script( 'script', get_template_directory_uri() , '/vendor/jquery/jquery.min.js', array ( 'jquery'), 1.0, true);
  
  wp_enqueue_script( 'script', get_template_directory_uri() . '/vendor/bootstrap/js/bootstrap.bundle.min.js', array ( ), 1.0, true);
  </code></pre>
  
  <p>// Additional Scripts </p>
  
  <pre><code>wp_enqueue_script( 'script', get_template_directory_uri() . '/assets/js/custom.js', array ( ), 1.0, true);
  
  wp_enqueue_script( 'script', get_template_directory_uri() . '/assets/js/owl.js', array ( ), 1.0, true);
  
  wp_enqueue_script( 'script', get_template_directory_uri() . '/assets/js/slick.js', array ( ), 1.0, true);
  
  wp_enqueue_script( 'script', get_template_directory_uri() . '/assets/js/accordions.js', array ( ), 1.0, true);
  </code></pre>
  
  <p>}
  add_action('wp_enqueue_scripts', 'calling_resources');</p>