Hi! Thanks for the framework and great docs etc. I've successfully (so far) been able to port my theme to a child of Thematic ... very cool.
I'm not sure how to best go about adding a reference to external javascript files (and, while I'm asking, where to store those files).
I was originally thinking something like this:
// add stuff in <head>
function my_wp_head(){
echo '<script type="text/javascript" src="' . get_bloginfo('template_url') . '/javascript/prototype.js"></script>';
echo '<script type="text/javascript" src="' . get_bloginfo('template_url') . '/javascript/javascript.js"></script>';
}
add_action('wp_head', 'my_wp_head');
and storing the files in a subdirectory "javascript" of my child theme directory. However, get_bloginfo('template_url') returns the parent theme's directory (Thematic of course).
I'd rather not spit out inline JS if I don't have to... Any advice?