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-content.php
<?php

/*

 * section FOOTER CONTENT

 */



   	$wp_customize->add_section( 'tesseract_footer_content' , array(

    	'title'      => __('Footer Content', 'tesseract'),

    	'priority'   => 3,

		'panel'      => 'tesseract_footer_options'

	) );



		$wp_customize->add_setting( 'tesseract_footer_content_header', array(

			'default'           => '',

			'type'           	=> 'option',

			'transport'         => 'refresh',

			'sanitize_callback' => '__return_false'

			)

		);



			$wp_customize->add_control(

				new Tesseract_Customize_Footer_Control(

				$wp_customize,

				'tesseract_footer_content_header_control',

				array(

					'label' =>  __('Left Footer Area:', 'tesseract' ),

					'description' =>  __('Choose the content to be displayed on the left area of the footer.', 'tesseract' ),

					'section' => 'tesseract_footer_content',

					'settings' => 'tesseract_footer_content_header',

					'priority' => 	1

					)

				)

			);



		$wp_customize->add_setting( 'tesseract_footer_additional_content', array(

				'sanitize_callback' => 'tesseract_sanitize_radio_nextToMenu_left',

				'default'			=> 'nothing'

		) );



		$wp_customize->add_control(

			new WP_Customize_Control(

				$wp_customize,

				'tesseract_footer_additional_content_control',

				array(

					'section'        => 'tesseract_footer_content',

					'settings'       => 'tesseract_footer_additional_content',

					'type'           => 'radio',

					'choices' 		 => array(

						'nothing' 	 => 'Nothing',

						'logo' 		 => 'Logo',

						'social'     => 'Social Icons',

						'search' 	 => 'Search Bar',

					),

					'priority' 		 => 2,

					''

				)

			)

		);



		$tesseract_menu_selector_menus = get_terms( 'nav_menu' );

		

		if ( $tesseract_menu_selector_menus ) :



			$tesseract_menu_selector_items = array();

			$item_keys = array( 'none' ); $item_values = array( 'None' );

			foreach ( $tesseract_menu_selector_menus as $items ) {

				array_push( $item_keys, $items->slug);

				array_push( $item_values, $items->name);

			}



			$tesseract_menu_selector_items = array_combine( $item_keys, $item_values );



			$wp_customize->add_setting( 'tesseract_footer_menu_select', array(

				'sanitize_callback' => 'tesseract_sanitize_select'

			) );



			$wp_customize->add_control(

				new WP_Customize_Control(

					$wp_customize,

					'tesseract_footer_menu_select_control',

					array(

						'label'          => __( 'Footer Left Menu', 'tesseract' ),

						'section'        => 'tesseract_footer_content',

						'settings'       => 'tesseract_footer_menu_select',

						'type'           => 'select',

						'choices'        => $tesseract_menu_selector_items,

						'priority' 		 => 3

					)

				)

			);

		endif;

 

		if(!class_exists('Tesseract_Remove_Branding_Customizer')):

		

		$wp_customize->add_setting( 'tesseract_footer_content_right', array(

			'default'           => 'themeby',

			'type'           	=> 'option',

			'transport'         => 'refresh',

			'sanitize_callback' => '__return_false'

			)

		);



		

		$wp_customize->add_setting( 'tesseract_footer_additional_content_right', array(

				//'sanitize_callback' => 'tesseract_sanitize_radio_nextToMenu_right',

				'default'			=> 'themeby'

		) );

		

			$wp_customize->add_control(

				new Tesseract_Customize_Footer_Control(

				$wp_customize,

				'tesseract_footer_content_control_right',

				array(

					'label' =>  __('Right Footer Area:', 'tesseract' ),

					'description' =>  __('Choose the content to be displayed on the right area of the footer.', 'tesseract' ),

					'section' => 'tesseract_footer_content',

					'settings' => 'tesseract_footer_content_right',

					'priority' => 	4

					)

				)

			);





		$wp_customize->add_control(

			new WP_Customize_Control(

				$wp_customize,

				'tesseract_footer_additional_content_right',

				array(

					'section'        => 'tesseract_footer_content',

					'settings'       => 'tesseract_footer_content_right',

					'type'           => 'radio',

					'choices' 		 => array(

						'themeby' 	 => 'Theme by Tesseract',

						'nothing' 	 => 'Nothing',

						'html' 	 	 => 'Text or HTML',

						'logo' 		 => 'Logo',

						'social'     => 'Social Icons',

						'search' 	 => 'Search Bar',

						'menu' 	 	 => 'Menu',

					),

					'priority' 		 => 4,

					''

				)

			)

		);		

		

		$wp_customize->add_setting( 'tesseract_footer_additional_content_right2');

		

		$wp_customize->add_control(

			new Tesseract_Customize_Footer2_Control(

			$wp_customize,

			'tesseract_footer_additional_content_right2',

			array(

				'label' =>  __('Right Footer Area:', 'tesseract' ),

				'description' =>  __('<a href="http://tesseracttheme.com/unbranding-plugin-3/" target="_blank"><img src="https://s3.amazonaws.com/tesseracttheme/unlock.png" /></a>', 'tesseract' ),

				'section' => 'tesseract_footer_content',

				'settings' => 'tesseract_footer_content_right',

				'priority' => 	5

				)

			)

		);

		

 

		

		endif;

Youez - 2016 - github.com/yon3zu
LinuXploit