wp_head function outputs after

‘$tracking_code’ ist just a string. It closes <head> automatically. So, no, it doesn’t come after the head, you just failed to use source view. Firebug and similar tools show just the rendered DOM, that’s not good enough. Fix: echo $tracking_code;.

Why would wp_head() cause the menus to break?

wp_head() and wp_footer() are absolute requirements for any WordPress theme. Without them, themes, plugins, and WordPress core can’t enqueue scripts and styles that are crucial for the correct functioning of your site. (So if something has to go, it’s the menu plugin and not wp_head()). Unfortunately, a lot of plugins don’t actually implement their styles … Read more

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