403Webshell
Server IP : 192.158.238.246  /  Your IP : 18.222.26.253
Web Server : LiteSpeed
System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
User : jenniferflocom ( 1321)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/7779/cwd/themes/open-shop/customizer/section/layout/header/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/7779/cwd/themes/open-shop/customizer/section/layout/header/loader.php
<?php
//Enable Loader
$wp_customize->add_setting( 'open_shop_preloader_enable', array(
                'default'               => false,
                'sanitize_callback'     => 'open_shop_sanitize_checkbox',
            ) );
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'open_shop_preloader_enable', array(
                'label'                 => esc_html__('Enable Loader', 'open-shop'),
                'type'                  => 'checkbox',
                'section'               => 'open-shop-pre-loader',
                'settings'              => 'open_shop_preloader_enable',
                'priority'   => 1,
            ) ) );
// BG color
 $wp_customize->add_setting('open_shop_loader_bg_clr', array(
        'default'           => '#9c9c9c',
        'capability'        => 'edit_theme_options',
        'sanitize_callback' => 'open_shop_sanitize_color',
        'transport'         => 'postMessage',
    ));
$wp_customize->add_control( 
    new Open_Shop_Customizer_Color_Control($wp_customize,'open_shop_loader_bg_clr', array(
        'label'      => __('Background Color', 'open-shop' ),
        'section'    => 'open-shop-pre-loader',
        'settings'   => 'open_shop_loader_bg_clr',
        'priority'   => 2,
    ) ) 
 ); 
/*******************/ 
// Pre loader Image
/*******************/ 
$wp_customize->add_setting('open_shop_preloader_image_upload', array(
        'default'       => OPEN_SHOP_PRELOADER,
        'capability'    => 'edit_theme_options',
        'sanitize_callback' => 'open_shop_sanitize_upload',
    ));
$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'open_shop_preloader_image_upload', array(
        'label'          => __('Pre Loader Image', 'open-shop'),
        'description'    => __('(You can also use GIF image.)', 'open-shop'),
        'section'        => 'open-shop-pre-loader',
        'settings'       => 'open_shop_preloader_image_upload',
 )));

/****************/
// doc link
/****************/
$wp_customize->add_setting('open_shop_loader_link_more', array(
    'sanitize_callback' => 'open_shop_sanitize_text',
    ));
$wp_customize->add_control(new Open_Shop_Misc_Control( $wp_customize, 'open_shop_loader_link_more',
            array(
        'section'     => 'open-shop-pre-loader',
        'type'        => 'doc-link',
        'url'         => 'https://themehunk.com/docs/open-shop/#pre-loader',
        'description' => esc_html__( 'To know more go with this', 'open-shop' ),
        'priority'   =>100,
    )));

Youez - 2016 - github.com/yon3zu
LinuXploit