It’s good practice to use:
- the proper WordPress way of
wp_enqueue_scripts
to add your scripts and styles; - the
wp_head
hook to add more code into your head section. Read more.
Either you can use and place into your functions.php
. Let me know if it’s what you were looking for.