If we use too many javascript files / libraries in any wordpress site. It can result into javascript conflict. So in order to remove those we need to add all javascript files in no.conflict mode. In order to do so wordpress provides us very useful functions like

wp_enqueue_script($handle, $src, $deps, $ver, $in_footer) and wp_enqueue_style( ‘style-name’, get_stylesheet_uri() ). So always use these functions to avoid any conflictions between javascript files / libraries

SHARE
Previous articleFunctions in Wordpess
Next articleMagento

LEAVE A REPLY