get('TextDomain') . '-fonts', esc_url(benzile_fonts_url())); wp_enqueue_style( $theme->get('TextDomain') . '-flaticon', ASSETS . '/css/flaticon.css' ); wp_enqueue_style( $theme->get('TextDomain') . '-bootstrap', ASSETS . '/css/bootstrap.css' ); wp_enqueue_style( $theme->get('TextDomain') . '-owl-carousel', ASSETS . '/css/owl.carousel.css' ); wp_enqueue_style( $theme->get('TextDomain') . '-owl-theme-default', ASSETS . '/css/owl.theme.default.css' ); wp_enqueue_style( $theme->get('TextDomain') . '-menu', ASSETS . '/css/menu.css' ); wp_enqueue_style( $theme->get('TextDomain') . '-default', ASSETS . '/css/default.css' ); wp_enqueue_style( $theme->get('TextDomain') . '-skin-1', ASSETS . '/css/skin/skin-1.css' ); wp_enqueue_style( $theme->get('TextDomain') . '-style', get_stylesheet_uri() ); wp_enqueue_style( $theme->get('TextDomain') . '-responsive', ASSETS . '/css/responsive.css' ); // JS Files // All Vendor Js wp_enqueue_script( $theme->get('TextDomain') . '-wow', ASSETS . '/js/wow.js', array('jquery'), '', false ); wp_enqueue_script( $theme->get('TextDomain') . '-popper', ASSETS . '/js/popper.js', array('jquery'), '', true ); wp_enqueue_script( $theme->get('TextDomain') . '-bootstrap', ASSETS . '/js/bootstrap.js', array('jquery','benzile-popper'), '', true ); wp_enqueue_script( $theme->get('TextDomain') . '-preloadinator', ASSETS . '/js/preloadinator.js', array('jquery'), '', true ); wp_enqueue_script( $theme->get('TextDomain') . '-owl-carousel', ASSETS . '/js/owl.carousel.js', array('jquery'), '', true ); wp_enqueue_script( $theme->get('TextDomain') . '-owl-custom', ASSETS . '/js/owl.custom.js', array('jquery'), '', true ); // wp_enqueue_script( $theme->get('TextDomain') . '-smartmenus', ASSETS . '/js/smartmenus.js', array('jquery'), '', true ); wp_enqueue_script( $theme->get('TextDomain') . '-custom', ASSETS . '/js/custom.js', array('jquery'), '', true ); wp_enqueue_script( $theme->get('TextDomain') . '-skip-link-focus-fix', ASSETS . '/js/skip-link-focus-fix.js', array(), '20151215', true ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } wp_localize_script( $theme->get('TextDomain') . '-main','main_data',array('ajax_url'=>admin_url('admin-ajax.php'))); } add_action( 'wp_enqueue_scripts', 'benzile_scripts1' );