- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 18.191.234.61
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/puertode/public_html/wp-content/themes/avril/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/puertode/public_html/wp-content/themes/avril/inc/enqueue.php
<?php
 /**
 * Enqueue scripts and styles.
 */
function avril_scripts() {
	
	// Styles	

	wp_enqueue_style('owl-theme-default-min',get_template_directory_uri().'/assets/css/owl.theme.default.min.css');
	
	wp_enqueue_style('font-awesome',get_template_directory_uri().'/assets/css/fonts/font-awesome/css/font-awesome.min.css');
	
	wp_enqueue_style('avril-editor-style',get_template_directory_uri().'/assets/css/editor-style.css');

	wp_enqueue_style('avril-default', get_template_directory_uri() . '/assets/css/color/default.css');

	wp_enqueue_style('avril-theme-css',get_template_directory_uri().'/assets/css/theme.css');

	wp_enqueue_style('avril-menus', get_template_directory_uri() . '/assets/css/menu.css');

	wp_enqueue_style('avril-widgets',get_template_directory_uri().'/assets/css/widgets.css');

	wp_enqueue_style('avril-main', get_template_directory_uri() . '/assets/css/main.css');
	
	wp_enqueue_style('avril-media-query', get_template_directory_uri() . '/assets/css/responsive.css');
	
	wp_enqueue_style( 'avril-style', get_stylesheet_uri() );
	
	// Scripts
	wp_enqueue_script( 'jquery' );

	wp_enqueue_script('wow-min', get_template_directory_uri() . '/assets/js/wow.min.js', array('jquery'), false, true);

	wp_enqueue_script('avril-custom-js', get_template_directory_uri() . '/assets/js/custom.js', array('jquery'), false, true);
	

	if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
		wp_enqueue_script( 'comment-reply' );
	}
}
add_action( 'wp_enqueue_scripts', 'avril_scripts' );

//Admin Enqueue for Admin
function avril_admin_enqueue_scripts(){	
	wp_enqueue_style('avril-admin-style', get_template_directory_uri() . '/assets/css/admin.css');
	wp_enqueue_script( 'avril-admin-script', get_template_directory_uri() . '/assets/js/avril-admin-script.js', array( 'jquery' ), '', true );
    wp_localize_script( 'avril-admin-script', 'avril_ajax_object',
        array( 'ajax_url' => admin_url( 'admin-ajax.php' ) )
    );
}
add_action( 'admin_enqueue_scripts', 'avril_admin_enqueue_scripts' );

Youez - 2016 - github.com/yon3zu
LinuXploit