So I'm trying to get my head round <?php wp_head(); ?>.
I understand that it loads in the stuff needed for plugins etc., but I'm using a theme that seems to be using it to load in scripts for theme elements as well.
There's a folder within my theme called 'scripts' that appears to have all of the javascript needed for the theme. In the outputted code is all of the javascript files etc.
So my question is: How do I hook in a javascript file (or anything for that matter) into <?php wp_head(); ?>?