• Hello I have activated your free plugin on staging website but it does not show up… I get this error…

    Uncaught TypeError: jQuery(…).select2 is not a function

    How can I solve it to make popup works?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there,
    Add this custom code in your functions.php

    if ( ! function_exists( 'yith_add_select2_scripts' ) ) {
    	add_action( 'wp_enqueue_scripts', 'yith_add_select2_scripts', 99 );
    
    	function yith_add_select2_scripts() {
    
    		wp_enqueue_script( 'selectWoo' );
    		wp_enqueue_style( 'select2' );
    
    	}
    }
Viewing 1 replies (of 1 total)
  • The topic ‘jQuey Select2 issue’ is closed to new replies.