File: /var/www/concertium.com/public_html/wp-content/themes/dt-the7/template-parts/header/searchform.php
<?php
/**
* Search form view.
*
* @package the7
*/
// File Security Check
if ( ! defined( 'ABSPATH' ) ) { exit; }
$show_icon = presscore_config()->get( 'header.elements.search.icon.enabled' );
$class = $show_icon ? '' : ' mini-icon-off';
$caption = presscore_config()->get( 'header.elements.search.caption' );
if ( ! $caption && $show_icon ) {
$class .= ' text-disable';
}
if ( ! $caption ) {
$caption = ' ';
}
?>
<form class="searchform" role="search" method="get" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<label for="search" class="screen-reader-text"><?php esc_html_e('Search:', 'the7mk2'); ?></label>
<input type="text" class="field searchform-s" name="s" value="<?php echo esc_attr( get_search_query() ); ?>" placeholder="<?php _e( 'Type and hit enter …', 'the7mk2' ); ?>" />
<?php do_action( 'presscore_header_searchform_fields' ); ?>
<input type="submit" class="assistive-text searchsubmit" value="<?php esc_attr_e( 'Go!', 'the7mk2' ); ?>" />
<a href="#go" id="trigger-overlay" class="submit<?php echo $class; ?>"><?php echo esc_html($caption); ?></a>
</form>