You have to load your javascript Snippet inside your header.
You’ll have to options:
- Edit your themes header.php and put the code before the closing tag
- 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');