<?php

$footer->addSubSection( array(
	'name'     => esc_html__( 'Footer', 'cakeart' ),
	'id'       => 'display_footer',
	'position' => 10,
) );


$footer->createOption( array(
	'name'    => esc_html__( 'Footer Column', 'cakeart' ),
	'id'      => 'footer_column',
	'type'    => 'number',
	'desc'    => esc_html__( 'This is footer column', 'cakeart' ),
	'default' => '4',
	'max'     => '4'
) );

$footer->createOption( array(
	'name'    => esc_html__( 'Width Column', 'cakeart' ),
	'id'      => 'width_column',
	'default' => '4+2+2+4',
	'type'    => 'text',
	'desc'    => esc_html__( 'Enter width of the ( columns 1 + columns 2 + columns 3 + columns 4 ) total of 12', 'cakeart' ),
) );

$footer->createOption( array(
	'name'                => esc_html__( 'Footer Text Font', 'cakeart' ),
	'id'                  => 'footer_text_font',
	'type'                => 'font-color',
	'show_font_family'    => false,
	'show_font_weight'    => true,
	'show_font_style'     => false,
	'show_line_height'    => false,
	'show_letter_spacing' => false,
	'show_text_transform' => false,
	'show_font_variant'   => false,
	'show_text_shadow'    => false,
	'show_preview'        => true,
	'show_color'          => true,
	'default'             => array(
		'color-opacity' => '#AAAAAA',
		'font-weight'   => '400',
		'font-size'     => '13px',
	)
) );

$footer->createOption( array(
	'name'                => esc_html__( 'Footer Title Font', 'cakeart' ),
	'id'                  => 'footer_title_font',
	'type'                => 'font-color',
	'show_font_family'    => false,
	'show_font_weight'    => true,
	'show_font_style'     => false,
	'show_line_height'    => false,
	'show_letter_spacing' => false,
	'show_text_transform' => true,
	'show_font_variant'   => false,
	'show_text_shadow'    => false,
	'show_color'          => true,
	'default'             => array(
		'color-opacity' => '#ffffff',
		'font-weight'   => '400',
		'font-size'     => '16px',
	),
) );

$footer->createOption( array(
	'name'        => esc_html__( 'Background Footer Color', 'cakeart' ),
	'id'          => 'footer_bg_color',
	'type'        => 'color-opacity',
	'default'     => '#1b1b1b',
	'livepreview' => '$("footer.site-footer .footer").css("background-color", value);'
) );


$footer->createOption( array(
	"name"        => esc_html__( "Background Footer Top Color", "cakeart" ),
	"id"          => "bg_footer_top_color",
	"default"     => "#f9f5ef",
	"type"        => "color-opacity",
	'livepreview' => '$("footer.site-footer .sidebar-bottom").css("background-color", value);'
) );


$footer->createOption( array(
	'name'    => esc_html__( 'Hide Wave line Footer ', 'cakeart' ),
	'id'      => 'hidden_wave_footer',
	'type'    => 'checkbox',
	"desc"    => esc_html__( "Hide wave line", 'cakeart' ),
	"default" => false,
) );