In functions.php file in child theme: /**Add code on to form page for sales force**/ function update_header_scripts() { if($post->post_type == 'page' && $post->ID == '719') { echo ''; echo ''; } } add_action( 'wp_head', 'update_header_scripts', 12 ); On the page where the form is to display