mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-19 08:25:44 +03:00
Theme: Initial commit.
This was forked from `pub/wporg-main` and `pub/wporg-plugins`, and then customized.
This commit is contained in:
commit
de191e098b
38 changed files with 4532 additions and 0 deletions
27
themes/wporg-5ftf/searchform.php
Normal file
27
themes/wporg-5ftf/searchform.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
namespace WordPressdotorg\Five_for_the_Future\Theme;
|
||||
|
||||
?>
|
||||
|
||||
<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
|
||||
<label for="s" class="screen-reader-text">
|
||||
<?php echo esc_html_x( 'Search for:', 'label', 'wporg-5ftf' ); ?>
|
||||
</label>
|
||||
|
||||
<input
|
||||
type="search"
|
||||
id="s"
|
||||
class="search-field"
|
||||
placeholder="<?php echo esc_attr_x( 'Search', 'placeholder', 'wporg-5ftf' ); ?>"
|
||||
value="<?php the_search_query(); ?>"
|
||||
name="s"
|
||||
/>
|
||||
|
||||
<button class="button button-primary button-search">
|
||||
<i class="dashicons dashicons-search"></i>
|
||||
<span class="screen-reader-text">
|
||||
<?php esc_html_e( 'Search plugins', 'wporg-5ftf' ); ?>
|
||||
</span>
|
||||
</button>
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue