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

/*=========================================
No Results Page
=========================================*/
$wp_customize->add_section(
	'no_results_pg_options', array(
		'title' => esc_html__( 'No Results Page', 'aster-travel-blog' ),
		'panel' => 'aster_travel_blog_theme_options',
	)
);

//  Title // 
$wp_customize->add_setting(
	'aster_travel_blog_pg_no_results_ttl',
	array(
        'default'			=> __('Nothing Found','aster-travel-blog'),
		'capability'     	=> 'edit_theme_options',
		'sanitize_callback' => 'aster_travel_blog_sanitize_html',
	)
);	

$wp_customize->add_control( 
	'aster_travel_blog_pg_no_results_ttl',
	array(
	    'label'   => __('No Results Title','aster-travel-blog'),
	    'section' => 'no_results_pg_options',
		'type'           => 'text',
	)  
);

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

$wp_customize->add_control( 
	'aster_travel_blog_pg_no_results_text',
	array(
	    'label'   => __('No Results Text','aster-travel-blog'),
	    'section' => 'no_results_pg_options',
		'type'           => 'text',
	)  
);