public_html/wp-content/themes/LocalTwo/inc/customizer/section__footer.php
/**
 * ============================================================================
 * Create controls for section: footer settings
 * ============================================================================
 */
Create controls for section: footer settings
Create controls for section : footer settings
function register_controls_for_footer_settings_section( $controls ) {
	$section  = 'footer_settings_section';
	$priority = 1;
	$controls[] = array(
		'type'      => 'checkbox',
		'mode'      => 'toggle',
		'setting'   => 'footer_uncovering_enable',
		'label'     => __( 'Uncovering', 'divertheme' ),
		'subtitle'  => __( 'Enabling this option will make Footer gradually appear on scroll', 'divertheme' ),
		'section'   => $section,
		'separator' => false,
		'default'   => footer_uncovering_enable,
		'priority'  => $priority ++
	);
	$controls[] = array(
		'type'      => 'group_title',
		'setting'   => 'site_group_title_footer_copyright',
		'label'     => __( 'Copyright', 'divertheme' ),
		'section'   => $section,
		'separator' => false,
		'priority'  => $priority ++
	);
	$controls[] = array(
		'type'      => 'checkbox',
		'mode'      => 'toggle',
		'setting'   => 'footer_copyright_enable',
		'subtitle'  => __( 'Enabling this option will display copyright info', 'divertheme' ),
		'section'   => $section,
		'separator' => false,
		'default'   => footer_copyright_enable,
		'priority'  => $priority ++
	);
	 Text
	$controls[] = array(
		'type'        => 'textarea',
		'setting'     => 'copyright_text',
		'label'       => __( 'Copyright Text', 'divertheme' ),
		'section'     => $section,
		'placeholder' => __( 'Entry your custom css code here', 'divertheme' ),
		'default'     => __( 'Copyright &copy; 2016 Diversition Co., Ltd. All right reserved.', 'divertheme' ),
		'priority'    => $priority ++
	);
	return $controls;
}
function register_controls_for_footer_settings_section ( $ controls ) { $ section = 'footer_settings_section' ; $ priority = 1 ; $ controls [ ] = array ( 'type' => 'checkbox' , 'mode' => 'toggle' , 'setting' => 'footer_uncovering_enable' , 'label' => __ ( 'Uncovering' , 'divertheme' ) , 'subtitle' => __ ( 'Enabling this option will make Footer gradually appear on scroll' , 'divertheme' ) , 'section' => $ section , 'separator' => false , 'default' => footer_uncovering_enable , 'priority' => $ priority ++ ) ; $ controls [ ] = array ( 'type' => 'group_title' , 'setting' => 'site_group_title_footer_copyright' , 'label' => __ ( 'Copyright' , 'divertheme' ) , 'section' => $ section , 'separator' => false , 'priority' => $ priority ++ ) ; $ controls [ ] = array ( 'type' => 'checkbox' , 'mode' => 'toggle' , 'setting' => 'footer_copyright_enable' , 'subtitle' => __ ( 'Enabling this option will display copyright info' , 'divertheme' ) , 'section' => $ section , 'separator' => false , 'default' => footer_copyright_enable , 'priority' => $ priority ++ ) ; $ controls [ ] = array ( 'type' => 'textarea' , 'setting' => 'copyright_text' , 'label' => __ ( 'Copyright Text' , 'divertheme' ) , 'section' => $ section , 'placeholder' => __ ( 'Entry your custom css code here' , 'divertheme' ) , 'default' => __ ( 'Copyright &copy; 2016 Diversition Co., Ltd. All right reserved.' , 'divertheme' ) , 'priority' => $ priority ++ ) ; return $ controls ; }
Create controls for section: footer settings
Create controls for section : footer settings
//Uncovering Footer //Copyright Group Title //Copyright //Copyright Text