• galileoh

    (@galileoh)


    Update has broken the slider on homepage and the gallery plugin I had running.

    Please update.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • WEN Solutions

    (@wen-solutions)

    Hello @galileoh

    There is currently a known issue with WordPress 4.5 jQuery. Until WordPress fixes the bug you can temporarily fix this issue by creating child theme.
    Reference https://codex.wordpress.org/Child_Themes for child theme.
    After creating child theme you can copy and paste following code in you child theme’s functions.php file.

    <?php
    
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    		if (!is_admin()) {
    		        wp_deregister_script('jquery');
    		        wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"), false, '1.11.3');
    		        wp_enqueue_script('jquery');
    		}
    }

    Hope this will help to resolve your issue.
    If any confusion during the process you can post.
    Let me how it goes.

    Regards!!!

    Moderator cubecolour

    (@numeeja)

    See Otto’s post on jQuery 1.12 problems at https://wordpress.org/support/topic/read-this-first-wordpress-45-master-list

    If the issue is the one mentioned in that post, this is not a bug in jQuery, but is a result of a bugfix where the current version of jQuery is no longer allowing incorrect syntax which was previously allowed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme broken with jquery after updating wordpress’ is closed to new replies.