Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #614160

    After the WP 4.5 updating and having to apply the Enfold avia.js fix, now Solilioquy slider is not working. After contacting Solilioquy support they said that the theme is causing the issue –

    jquery.js:2 Uncaught Error: Syntax error, unrecognized expression: .main_menu .menu li > a[href*=#]

    Thanks

    #614173

    Hi xyzb!

    Please add the below code in functions.php

    // js fix for wp 4.5
    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');

    You are probably using an old version of the theme. We have released an enfold update to match the changes made in the latest version of wordpress 4.5
    Please backup any custom changes you may have added to the theme if you are not using a child theme and update enfold to latest version 3.5.2 make sure you have the correct API key from themeforest.
    If you are not able to view the update option in wordpress dashboard. Please update the theme manually via FTP following the steps provided here http://kriesi.at/documentation/enfold/portfolio-item/update-theme-files-with-ftp/

    Once you update the theme you can remove the above code from Editor > appearance > function.php

    Regards,
    Vinay

    #614210

    Hi Vinnie,
    I am running the latest Enfold rev.
    I found that the issue was traced to the jquery version in the WordPress includes folder itself and not from the theme. Does the theme override the call made by the WordPress code? I just loaded the older version of jquery from the previous version of WordPress and it worked. I just noticed that you has posted a response.

    Thanks!

    • This reply was modified 8 years, 8 months ago by xyzb.
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Enfold Theme breaks Soliloquy Slider’ is closed to new replies.