first commit
This commit is contained in:
19
wp-content/themes/thinkai/searchform1.php
Normal file
19
wp-content/themes/thinkai/searchform1.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/**
|
||||
* Search Form template
|
||||
*
|
||||
* @package THINKAI
|
||||
* @author Theme Kalia
|
||||
* @version 1.0
|
||||
*/
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( 'Restricted' );
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
<form method="post" action="<?php echo esc_url( home_url( '/' ) ); ?>">
|
||||
<label for="search" class="sr-only"><?php esc_html_e('search here','thinkai'); ?></label>
|
||||
<input type="text" id="search" name="s" value="<?php echo get_search_query(); ?>" placeholder="<?php echo esc_attr__( 'Search...', 'thinkai' ); ?>" required />
|
||||
<button type="submit" aria-label="search submit" class="thm-btn"><i class="icon-loupe"></i></button>
|
||||
</form>
|
||||
Reference in New Issue
Block a user