arkadaşlar forumda ilk konum baya araştırdım fakar çözüm bulamadım size güveniyorum.

sorun şu ki, temamda normalde js çalışıyor ama wordpresse giydirdikten sonra çalışmıyor functions.php'ye gerekli kodları ekledim fakat çalışmıyor

functions.php;

function hospice_css_js_import() {
wp_enqueue_style('bootstrap',get_template_directory_uri().'/css/bootstrap.css');
wp_enqueue_style('linericon',get_template_directory_uri().'/vendors/linericon/style.css');
wp_enqueue_style('font-awesome',get_template_directory_uri().'/css/font-awesome.min.css');
wp_enqueue_style('owl-carousel',get_template_directory_uri().'/vendors/owl-carousel/owl.carousel.min.css');
wp_enqueue_style('simplelightbox',get_template_directory_uri().'/vendors/lightbox/simpleLightbox.css');
wp_enqueue_style('nice-select',get_template_directory_uri().'/vendors/nice-select/css/nice-select.css');
wp_enqueue_style('animate-css',get_template_directory_uri().'/vendors/animate-css/animate.css');
wp_enqueue_style('jquery-ui',get_template_directory_uri().'/vendors/jquery-ui/jquery-ui.css');
wp_enqueue_style('hospice-style',get_stylesheet_uri());
wp_enqueue_style('responsive',get_template_directory_uri().'/css/responsive.css');

wp_enqueue_script('jquery',get_template_directory_uri().'/js/jquery-3.2.1.min.js',array(),null,true);
wp_enqueue_script('popper',get_template_directory_uri().'/js/popper.js',array(),null,true);
wp_enqueue_script('bootstrap',get_template_directory_uri().'/js/bootstrap.min.js',array(),null,true);
wp_enqueue_script('nice-select-jquery',get_template_directory_uri().'/vendors/nice-select/js/jquery.nice-select.min.js',array(),null,true);
wp_enqueue_script('isotope',get_template_directory_uri().'/vendors/isotope/isotope-min.js',array(),null,true);
wp_enqueue_script('owl-carousel-js',get_template_directory_uri().'/vendors/owl-carousel/owl.carousel.min.js',array(),null,true);
wp_enqueue_script('jquery-ajaxchimp',get_template_directory_uri().'/js/jquery.ajaxchimp.min.js',array(),null,true);
wp_enqueue_script('jquery-counterup',get_template_directory_uri().'/js/jquery.counterup.min.js',array(),null,true);
wp_enqueue_script('jquery-waypoints',get_template_directory_uri().'/js/jquery.waypoints.min.js',array(),null,true);
wp_enqueue_script('mail-script',get_template_directory_uri().'/js/mail-script.js',array(),null,true);
wp_enqueue_script('hospice-script',get_template_directory_uri().'/js/custom.js',array(),null,true);
}
add_action('wp_enqueue_scripts','hospice_css_js_import');


temanın orijinali : Tıkla