AnonSec Shell
Server IP : 172.67.157.199  /  Your IP : 13.58.133.50   [ Reverse IP ]
Web Server : Apache
System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64
User : root ( 0)
PHP Version : 8.0.30.2
Disable Function : NONE
Domains : 0 Domains
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/wp-content/themes/izo/inc/customizer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/wp-content/themes/izo/inc/customizer/sidebar.php
<?php
/**
 * Sidebar Customizer options
 *
 * @package Izo
 */

$wp_customize->add_section(
	'izo_sidebar_section',
	array(
		'title'         => esc_html__( 'Sidebar', 'izo' ),
		'priority'      => 21,
	)
); 

$wp_customize->add_setting(
	'sidebar_position',
	array(
		'default'           => 'sidebar-right',
		'sanitize_callback' => 'izo_sanitize_select',
	)
);
$wp_customize->add_control(
	'sidebar_position',
	array(
		'type'      		=> 'select',
		'label'     		=> esc_html__( 'Sidebar position', 'izo' ),
		'section'   		=> 'izo_sidebar_section',
		'choices'   		=> array(
			'sidebar-left'	=> esc_html__( 'Left', 'izo' ),
			'sidebar-right'	=> esc_html__( 'Right', 'izo' ),
			'no-sidebar'	=> esc_html__( 'No sidebar', 'izo' ),
		)
	)
);

$wp_customize->add_setting( 'sidebar_width',
	array(
		'default' 			=> 25,
		'transport' 		=> 'postMessage',
		'sanitize_callback' => 'absint'
	)
);
$wp_customize->add_control( new Izo_Slider_Control( $wp_customize, 'sidebar_width',
	array(
		'label' => esc_html__( 'Sidebar width [%]', 'izo' ),
		'section' => 'izo_sidebar_section',
		'input_attrs' => array(
			'min' => 20,
			'max' => 50,
			'step' => 1,
		),
	)
) );

Anon7 - 2022
AnonSec Team