<?php
/*
 * Creating a logo Options
 */
$logo = $titan->createThemeCustomizerSection( array(
	'name'     => 'title_tagline',
	'position' => 1,
) );

$logo->createOption( array(
	'name'    => esc_html__( 'Header Logo', 'cakeart' ),
	'id'      => 'logo',
	'type'    => 'upload',
	'desc'    => esc_html__( 'Upload your logo', 'cakeart' ),
	'default' => THIM_URI . 'images/logo.png',
) );

$logo->createOption( array(
	'name'    => esc_html__( 'Sticky Logo', 'cakeart' ),
	'id'      => 'sticky_logo',
	'type'    => 'upload',
	'desc'    => esc_html__( 'Upload your sticky logo', 'cakeart' ),
	'default' => THIM_URI . 'images/logo.png',
) );

$logo->createOption( array(
	'name'    => esc_html__( 'Width Logo', 'cakeart' ),
	'id'      => 'width_logo',
	'type'    => 'number',
	'default' => '25',
	'max'     => '100',
	'min'     => '0',
	'step'    => '8.33333333333',
	'desc'    => esc_html__( 'width logo (%)', 'cakeart' )
) );

if ( ! function_exists( 'wp_site_icon' ) ) {
	$logo->createOption( array(
		'name'    => esc_html__( 'Favicon', 'cakeart' ),
		'id'      => 'favicon',
		'type'    => 'upload',
		'desc'    => esc_html__( 'Upload your favicon', 'cakeart' ),
		'default' => THIM_URI . 'images/favicon.png',
	) );
}

?>