Add a downloaded JS file to WordPress

You have to load your javascript Snippet inside your header.

You’ll have to options:

  1. Edit your themes header.php and put the code before the closing tag
  2. Insert your code into the header with a custom function inside your functions.php
function my_custom_js() {
    echo '<script type="text/javascript">
    jQuery(document).ready(function($){
       jQuery("#double-scroll").doubleScroll();
    });
    </script>';
}
// Add hook for front-end <head></head>
add_action('wp_head', 'my_custom_js');

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)