<?php
/**
 * This file handles the search functionality.
 *
 * @package Matrimony
 */
function matrimony_search_callback(){ ?>
	<div class="search-container">
	    <a class="search-toggle" href="javascript:void(0)"></a>
	    <div class="search-section">
	        <form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
	            <label>
	                <span class="screen-reader-text"><?php echo esc_html__( 'Search for:', 'matrimony' ) ?></span>
	                <input class="search-field" placeholder="Search" value="<?php echo get_search_query(); ?>" name="s" type="search">
	            </label>
	           <input class="search-submit" value="Search" type="submit">
	        </form>
	    </div>
	</div>
<?php
}
add_action('matrimony_search','matrimony_search_callback');	
