<?php

/**
 * Sidebar Theme Options
 *
 * @package eco-solar-energy
 */
$wp_customize->add_section('eco_solar_energy_post_section', array(

	'title'      => esc_html__('Post Section', 'eco-solar-energy'),
	'capability' => 'edit_theme_options',
	'panel' => 'eco_solar_energy_theme_section_panel'

));

        ///////////Date Bg color
    $wp_customize->add_setting('post_date_bg_color', array(
        'default'   => '#7ECF29',
        'transport' => 'refresh',
        'sanitize_callback' => 'sanitize_hex_color',
        ));
              
        $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'post_date_bg_color', array(
        'section' => 'eco_solar_energy_post_section',
        'description' => __('Post Date BG Color', 'eco-solar-energy'),
        )));

       