Viewing File: /home/maglabs/sfakstar/wp-content/themes/kariez/inc/Api/Customizer/Sections/SiteIdentity.php

<?php
/**
 * Theme Customizer - Header
 *
 * @package kariez
 */

namespace RT\Kariez\Api\Customizer\Sections;

use RT\Kariez\Api\Customizer;
use RTFramework\Customize;

/**
 * Customizer class
 */
class SiteIdentity extends Customizer {

	/**
	 * Register controls
	 * @return void
	 */
	public function register() {
		Customize::add_controls( 'title_tagline', $this->get_controls() );
	}

	/**
	 * Get controls
	 * @return array
	 */
	public function get_controls() {

		return apply_filters( 'rt_title_tagline_controls', [

			'rt_logo' => [
				'type'         => 'image',
				'label'        => __( 'Main Logo', 'kariez' ),
				'description'  => __( 'Upload main logo for your site.', 'kariez' ),
				'button_label' => __( 'Logo', 'kariez' ),
			],

			'rt_logo_light' => [
				'type'         => 'image',
				'label'        => __( 'Light Logo', 'kariez' ),
				'description'  => __( 'Upload light logo for transparent header. It should a white logo', 'kariez' ),
				'button_label' => __( 'Light Logo', 'kariez' ),
			],

			'rt_logo_mobile' => [
				'type'         => 'image',
				'label'        => __( 'Mobile Logo', 'kariez' ),
				'description'  => __( 'Upload, if you need a different logo for mobile device..', 'kariez' ),
				'button_label' => __( 'Mobile Logo', 'kariez' ),
			],

			'rt_logo_width_height' => [
				'type'      => 'text',
				'label'     => __( 'Main Logo Dimension', 'kariez' ),
				'description'     => __( 'Enter the width and height value separate by comma (,). Eg. 120px,45px', 'kariez' ),
				'transport' => '',
			],

			'rt_mobile_logo_width_height' => [
				'type'      => 'text',
				'label'     => __( 'Mobile Logo Dimension', 'kariez' ),
				'description'     => __( 'Enter the width and height value separate by comma (,). Eg. 120px,45px', 'kariez' ),
				'transport' => '',
			],

		] );

	}

}
Back to Directory File Manager