Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

hoverintent.min.js wordpress error

// Solution to confliction of jquery with seo plugin - Backend Side

function webslaw_hoverintent_reload() {
    wp_deregister_script('hoverIntent');
    wp_register_script('hoverIntent', ( 'https://cdnjs.cloudflare.com/ajax/libs/jquery.hoverintent/1.10.1/jquery.hoverIntent.min.js'), array('jquery'), 'r6.1');
}
add_action('admin_init', 'webslaw_hoverintent_reload');
 
PREVIOUS NEXT
Tagged: #wordpress #error
ADD COMMENT
Topic
Name
8+1 =