<?php
/**
 * Sample implementation of the Custom Header feature
 *
 * You can add an optional custom header image to header.php like so ...
 *
	<?php the_header_image_tag(); ?>
 *
 * @link https://developer.wordpress.org/themes/functionality/custom-headers/
 *
 * @package Theia Lite
 */

/**
 * Set up the WordPress core custom header feature.
 *
 * @uses theia_lite_header_style()
 */
 
function theia_lite_custom_header_setup() {
	add_theme_support( 'custom-header', apply_filters( 'theia_lite_custom_header_args', array(
		'default-image'          => get_template_directory_uri() . '/images/slide.jpg',
		'width'                  => 1920,
		'height'                 => 800,
		'flex-height'            => true,
		'header-text'			 => false,
	) ) );
}
add_action( 'after_setup_theme', 'theia_lite_custom_header_setup' );


