Add functions to wordpress HEADER
In your functions.php file, add this code. Then include the actual code which should be in the header in the red section. add_action ( 'wp_head' , 'custom_head_function' , - 999 ); function custom_head_function ( ) { ?> YOUR HEADER CODE HERE <?php };