403Webshell
Server IP : 216.106.184.20  /  Your IP : 216.73.216.234
Web Server : LiteSpeed
System : Linux asmodeus.in-hell.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64
User : sekoaid1 ( 1891)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/sekoaid1/www/wp-content/themes/onepress/inc/customize-configs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/sekoaid1/www/wp-content/themes/onepress/inc/customize-configs/site-identity.php
<?php
/**
 * Site Identity.
 */

$is_old_logo = get_theme_mod( 'onepress_site_image_logo' );

$wp_customize->add_setting( 'onepress_hide_sitetitle',
	array(
		'sanitize_callback' => 'onepress_sanitize_checkbox',
		'default'           => $is_old_logo ? 1 : 0,
	)
);
$wp_customize->add_control(
	'onepress_hide_sitetitle',
	array(
		'label'   => esc_html__( 'Hide site title', 'onepress' ),
		'section' => 'title_tagline',
		'type'    => 'checkbox',
	)
);

$wp_customize->add_setting( 'onepress_hide_tagline',
	array(
		'sanitize_callback' => 'onepress_sanitize_checkbox',
		'default'           => $is_old_logo ? 1 : 0,
	)
);
$wp_customize->add_control(
	'onepress_hide_tagline',
	array(
		'label'   => esc_html__( 'Hide site tagline', 'onepress' ),
		'section' => 'title_tagline',
		'type'    => 'checkbox',

	)
);

// Retina Logo
$wp_customize->add_setting( 'onepress_retina_logo',
	array(
		'sanitize_callback' => 'sanitize_text_field',
		'default'           => '',
		'transport'         => 'postMessage'
	)
);
$wp_customize->add_control(
	new WP_Customize_Image_Control(
		$wp_customize,
		'onepress_retina_logo',
		array(
			'label'   => esc_html__( 'Retina Logo', 'onepress' ),
			'section' => 'title_tagline',
		)
	)
);


// Logo Width
$wp_customize->add_setting( 'onepress_logo_height',
	array(
		'sanitize_callback' => 'sanitize_text_field',
		'default'           => '',
		'transport'         => 'postMessage'
	)
);
$wp_customize->add_control(
	'onepress_logo_height',
	array(
		'label'   => esc_html__( 'Logo Height In Pixel', 'onepress' ),
		'section' => 'title_tagline',
	)

);

Youez - 2016 - github.com/yon3zu
LinuXploit