<?php
/**
 * No Results page
 *
 * @package aster_it_courses
 */

/*=========================================
No Results Page
=========================================*/
$wp_customize->add_section(
	'no_results_pg_options', array(
		'title' => esc_html__( 'No Results Page', 'aster-it-courses' ),
		'panel' => 'aster_it_courses_theme_options',
	)
);

//  Title // 
$wp_customize->add_setting(
	'aster_it_courses_pg_no_results_ttl',
	array(
        'default'			=> __('Nothing Found','aster-it-courses'),
		'capability'     	=> 'edit_theme_options',
		'sanitize_callback' => 'aster_it_courses_sanitize_html',
	)
);	

$wp_customize->add_control( 
	'aster_it_courses_pg_no_results_ttl',
	array(
	    'label'   => __('No Results Title','aster-it-courses'),
	    'section' => 'no_results_pg_options',
		'type'           => 'text',
	)  
);

//  Text // 
$wp_customize->add_setting(
	'aster_it_courses_pg_no_results_text',
	array(
        'default'			=> __('Sorry, but nothing matched your search terms. Please try again with some different keywords.','aster-it-courses'),
		'capability'     	=> 'edit_theme_options',
		'sanitize_callback' => 'aster_it_courses_sanitize_html',
	)
);	

$wp_customize->add_control( 
	'aster_it_courses_pg_no_results_text',
	array(
	    'label'   => __('No Results Text','aster-it-courses'),
	    'section' => 'no_results_pg_options',
		'type'           => 'text',
	)  
);