Hi see: https://www.logoglo.com/portfolio-page/
I have this code to load googles library (to speed things up)
//Making jQuery Google API
function modify_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’, ‘https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js’, false, ‘1.12.4’);
wp_enqueue_script(‘jquery’);
}
}
add_action(‘init’, ‘modify_jquery’);
//
But the portfolio stops working (hangs on load) when I use it (the code works and loads the jquery, rest of the site works)
I have removed this code for now, as I need the portfolio page working.
IS there a way to load googles jquery, and have the portfolio page work?
Thanks.
