audiolab-theme/searchform.php

16 lines
665 B
PHP
Raw Normal View History

2016-12-23 20:38:21 +01:00
<?php
/**
* The template for displaying search forms in Twenty Eleven
*
* @package WordPress
* @subpackage Twenty_Eleven
* @since Twenty Eleven 1.0
*/
?>
<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<label for="s" class="screen-reader-text"><?php _e( 'Search', 'audilab' ); ?></label>
<input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'audiolab' ); ?>" />
<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'audiolab' ); ?>" />
<input type="hidden" value="<?php echo qtrans_getLanguage(); ?>" name="lang"/>
</form>