I’m a user / member of Digging into WordPress (i.e. got the ebook), and while I’ve learnt and kinda understand how one should register jQuery using functions.php, what I’m not sure of, is how to use other scripts?
Do I simply register jQuery in functions.php, and then reference all my related scripts in the head of my header.php file?
Or, do I need to reference my other files from functions.php as well?
I guess I’m really looking for a practical example of the functions.php bit and the header.php bit?
Thanks for your feedback – appreciate it. I do however, have most of that down already – from going through all the DigWP tutorials.
How though, do I reference my own js (jquery) files for my theme? Do I enqueue them in the same way as we did the Google-hosted jQuery – i.e. in functions.php? OR, do I place them in the
of my header.php file?
As I mention above, the load order of these things is important, so I’m looking for a solution that gets things loaded, not only the right place, but in the right order (CSS first, then Google-hosted jQuery, then my theme scripts).