jQuery + more won’t load in header

WordPress’s wp_register_script has an $in_footer parameter which allows you to state if the script should be written to wp_head or wp_footer.

By default the value is false (don’t show in footer), but you could try it yourself.

Replace your wp_register_script with this:

wp_register_script( 'jquery', '//ajax.googleapis.com/ajax/libs/jquery/'. $jquery_ver .'/jquery.min.js', '', '', false );

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