moved function to wp_head()
removed temp_ prefix