Include Javascript as Plain (No file inclusion)

Yes, you can directly insert what you want in the header or the footer using the action wp_head or wp_footer

add_action('wp_head', 'custom_script');

function custom_script(){
      ?>
      <script>My awesome code </script>
      <?php

}

You only have to put this in functions.php of your child theme

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