diff options
Diffstat (limited to 'dist/searchform.php')
| -rw-r--r-- | dist/searchform.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dist/searchform.php b/dist/searchform.php new file mode 100644 index 0000000..d4e3435 --- /dev/null +++ b/dist/searchform.php @@ -0,0 +1,22 @@ +<?php +/** + * The template for displaying search forms in Underscores.me + * + * @package understrap + */ + +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly. +} +?> + +<form class="form-inline my-2 my-lg-0 float-none float-sm-right" method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search"> + <label class="sr-only" for="s"><?php esc_html_e( 'Search', 'understrap' ); ?></label> + <div class="input-group"> + <input class="field form-control" id="s" name="s" type="text" + placeholder="<?php esc_attr_e( 'Den Blog durchsuchen…', 'understrap' ); ?>" value="<?php the_search_query(); ?>"> + <span class="input-group-append"> + <button class="btn btn-dark my-2 my-sm-0" id="searchsubmit" name="submit" type="submit"><i class="material-icons">search</i></button> + </span> + </div> +</form> |
