CoreFiles by mySites.guru
modal-search.php34 lines, 945 bytes, from wordpress-5.6.21.zip
Raw History Compare with 5.6.20
md5
b4f2f5637494216472e929ab6a7cede3
sha1
11f32d096599979c97bf52396f798eb25d1f0e87
sha256
a78a9ec972aa696505bd5e550178a37df84de14f3e8aa468f98e604ac4fdcf47
<?php
/**
 * Displays the search icon and modal
 *
 * @package WordPress
 * @subpackage Twenty_Twenty
 * @since Twenty Twenty 1.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 109 releases, WordPress 5.4-beta1 to 5.6.24. See them all, or every version of this file.