I have the following code in my header.php file:
<?php wp_enqueue_script("jquery"); ?>
<?php if(is_page_template('page-portfolio.php')){
wp_enqueue_script('jquery-ui-core');
wp_enqueue_script('jquery-ui-tabs');
}
?>
jquery-ui-core and jquery-ui-tabs are loading in the footer of the page, however, nowhere do I have $in_footer set to true. Any clues as to why this could be happening?