retrogeekreloaded/searchform.php

36 lines
2.4 KiB
PHP
Raw Permalink Normal View History

2024-01-28 20:56:21 +01:00
<?php
/**
****************************************************************************
** RETROGEEK RELOADED SOURCE FILE **
** Copyright (c) 2021-2022 Tuxlog **
** Copyright (c) 2024 JeremyStarTM & Contributors **
** Licensed under the GNU General Public License v3 **
****************************************************************************
** This program is free software: you can redistribute it and/or modify **
** it under the terms of the GNU General Public License as published by **
** the Free Software Foundation, either version 3 of the License, or **
** (at your option) any later version. **
** **
** This program is distributed in the hope that it will be useful, **
** but WITHOUT ANY WARRANTY; without even the implied warranty of **
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the **
** GNU General Public License for more details. **
** **
** You should have received a copy of the GNU General Public License **
** along with this program. If not, see <https://www.gnu.org/licenses/>. **
****************************************************************************
** searchform.php (Search form template) **
** **
** This source file is a template for displaying search forms. **
****************************************************************************
*/
?>
<form role="search" method="get" class="search-form" action="<?php echo esc_url(home_url('/')); ?>">
<label>
<span class="screen-reader-text"><?php echo esc_attr_x('Suchen nach:', 'label', 'retrogeek'); ?></span>
2024-01-28 21:10:04 +01:00
<input type="search" class="search-field" placeholder="<?php echo esc_attr_x('Suche...', 'placeholder', 'retrogeek'); ?>" value="<?php echo get_search_query(); ?>" name="s" />
2024-01-28 20:56:21 +01:00
</label>
2024-01-28 21:10:04 +01:00
<button type="submit" class="search-submit"><span class="screen-reader-text"><?php echo esc_attr_x('Los', 'submit button', 'retrogeek'); ?></span></button>
2024-01-28 20:56:21 +01:00
</form>