CoreFiles by mySites.guru
modal-search.php34 lines, 933 bytes, from wordpress-5.3.21.zip
Raw History Compare with 5.3.20
md5
19b4b7a6e7cc4a6c95e9e925317315b8
sha1
63faee3aefd22fc4e13f5c8fb6c6428736b9fc60
sha256
c1dd183a67bd8637ea3aca183c2e911dddb98e127437bc6b3281beca8bbca539
<?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">

	<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 close-search-toggle fill-children-current-color" data-toggle-target=".search-modal" data-toggle-body-class="showing-search-modal" data-set-focus=".search-modal .search-field" aria-expanded="false">
				<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 -->

The same content is in 36 releases, WordPress 5.3-RC2 to 5.3.28. See them all, or every version of this file.