mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-15 21:01:22 +01:00
a734d8eea1
This brings `trunk`'s version of Twenty Twenty in-sync with GitHub.
For a complete list of changes since [46357], see 7157870...7246fd6
.
Props anlino, ianbelanger, poena, williampatton, nielslange, acosmin, netweb, joyusly, luminuu, itowhid06, cbravobernal, intimez, glauberglauber, ocean90, amolv, briceduclos, aristath, mukesh27, garrett-eclipse, audrasjb, afercia, dianeco, utsav72640, mahesh901122, tobifjellner.
See #48110.
Built from https://develop.svn.wordpress.org/trunk@46445
git-svn-id: http://core.svn.wordpress.org/trunk@46243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
35 lines
913 B
PHP
35 lines
913 B
PHP
<?php
|
|
/**
|
|
* Displays the search icon and modal
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Twenty
|
|
* @since 1.0.0
|
|
*/
|
|
|
|
?>
|
|
<div class="search-modal cover-modal header-footer-group" data-modal-target-string=".search-modal" aria-expanded="false">
|
|
|
|
<div class="search-modal-inner modal-inner">
|
|
|
|
<div class="section-inner">
|
|
|
|
<?php
|
|
get_search_form(
|
|
array(
|
|
'label' => __( 'Search for:', 'twentytwenty' ),
|
|
)
|
|
);
|
|
?>
|
|
|
|
<button class="toggle search-untoggle fill-children-current-color" data-toggle-target=".search-modal" data-toggle-body-class="showing-search-modal" data-set-focus=".search-modal .search-field">
|
|
<span class="screen-reader-text"><?php _e( 'Close search', 'twentytwenty' ); ?></span>
|
|
<?php twentytwenty_the_theme_svg( 'cross' ); ?>
|
|
</button><!-- .search-toggle -->
|
|
|
|
</div><!-- .section-inner -->
|
|
|
|
</div><!-- .search-modal-inner -->
|
|
|
|
</div><!-- .menu-modal -->
|