I upgraded to WordPress 4.5 and the posts slider on the homepage stopped working. ( removed it for now until we can resolve it).
Also, the “pop up” animation for images stopped working.
Hi lodgingmetrics,
Please try adding the following to your functions.php file to see if that helps:
function modify_jquery() {
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', 'https://code.jquery.com/jquery-1.11.3.min.js');
wp_enqueue_script('jquery');
}
}
add_action('init', 'modify_jquery');
Regards,
Rikard
I added that to the top of the functions.php file, hit save and it’s now throwing the following error:
Parse error: syntax error, unexpected ‘}’ in /home3/y8y7u3a3/public_html/lodgingleaders.com/wp-content/themes/enfold/functions.php on line 12
I deleted what I added, saved it, but the error still remains.
Now pages won’t load. What do I do?
Hi!
Usually code should be added to the bottom of the file. If you are certain you removed the code added then try clearing the server’s cache and the browser’s cache.
Could you please provide login details to your site, so that we can have a closer look. You can place the information in the Private Content section of your reply.
Best regards,
Jordan