After updating the WordPress to 4.5, if fusion portfolios, sliders, testimonials, carousels, equal heights, tabs, contact forms are not working that may because of the following error ” Syntax error, unrecognized expression: [href =#]”
The reason is WordPress updated jQuery libraries , but the theme using the old library functions. There are two ways to fix the issue.
Option #1 – Update the Avada theme js libery files.
Download the attached zip files and replace the old files in the Avada/assets/js folder.
wp45_compatibility_fix – Avada
Option #2 – Add the following code in the theme’s functions.php file.
add_action( 'wp_enqueue_scripts', 'load_old_jquery_fix', 100 ); function load_old_jquery_fix() { if ( ! is_admin() ) { wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', ( "//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" ), false, '1.11.3' ); wp_enqueue_script( 'jquery' ); } }