<?php
/**
 * Partial template to display search icon.
 *
 * @package Blogbuster
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

$header_search_enable = blogbuster_get_customizer_option_value( 'blogbuster_header_search_enable' );
if ( false === $header_search_enable ) {
    return;
}
?>

<div class="header-search-wrapper mt-icon-elements">
<div class="mt-search-icon"><a href="javascript:void(0)"><i class='fas fa-search'></i></a></div>
    <div class="search-form-wrap">
    <div class="mt-form-close"><a href="javascript:void(0)"><i class='fas fa-close'></i></a></div>
        <?php get_search_form(); ?>
    </div><!-- .search-form-wrap -->
</div><!-- .header-search-wrapper -->