mormarketer (August 19th, 2013), tradeamillion (August 8th, 2013)
define('child_template_directory', dirname( get_bloginfo('stylesheet_url')) );
function load_jquery() {
if (!is_admin()) {
// comment out the next two lines to load the local copy of jQuery
wp_deregister_script('jquery');
wp_register_script('jquery', child_template_directory . '/js/jquery.min.js', false, '1.8.3');
wp_enqueue_script('jquery');
}
}
add_action('init', 'load_jquery');
mormarketer (August 19th, 2013), tradeamillion (August 8th, 2013)
There are currently 1 users browsing this thread. (0 members and 1 guests)