Hello everybody, i put that code to my functions.php
function add_jquery_tools() {
if ( !is_admin() ) {
wp_register_script('addons_script', 'http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js', array('jquery'), 'true');
wp_enqueue_script('addons_script');
}
if ( !is_admin() ) {
wp_register_script('addons_javascript', 'https://apis.google.com/js/plusone.js', true, '');
wp_enqueue_script('addons_javascript');
}
}
add_action('wp_print_scripts', 'add_jquery_tools');
but both the script i see that are loaded in the head, see HTML source of http://www.digitalking.it instead of footer, even if i set the variable $in_footer to true according to Codex http://codex.wordpress.org/Function_Reference/wp_enqueue_script
what's wrong?
Thanks in advice,
Simone