◉functions.phpへの記述
<?php
function my_enqueue_script() {
wp_enqueue_script( 'script-js', get_template_directory_uri() . '/script.js');
}
add_action( 'wp_enqueue_scripts', 'my_enqueue_script' );
?>
<?php
add_filter( 'show_admin_bar', '__return_false' );
?>
◉header.php(もしくはindex.php)への記述 ※</head>
の直前に記述する。
<?php wp_head(); ?>
</head>