Homepage js is conflicting with js of plugin of other page
Put it in an if clause to only load on front page: if (is_front_page()){ // you could also try is_home() //or is_page($the_id_of_home_page = 555) If you know the id of the home page wp_register_script(‘java1’, get_template_directory_uri() . ‘/js/cr-scroll.js’, array( ‘jquery’ )); wp_enqueue_script( ‘java1’ ); } or remove it on a specific page: function remove_scroll_js(){ if (is_page($the_id_of_that_page_lets_say … Read more