PATH:
home
/
lab2454c
/
archswipe.com
/
wp-content
/
themes
/
twentytwenty
<?php /** * The searchform.php template. * * Used any time that get_search_form() is called. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package WordPress * @subpackage Twenty_Twenty * @since Twenty Twenty 1.0 */ /* * Generate a unique ID for each form and a string containing an aria-label * if one was passed to get_search_form() in the args array. */ $twentytwenty_unique_id = twentytwenty_unique_id( 'search-form-' ); $twentytwenty_aria_label = ! empty( $args['aria_label'] ) ? 'aria-label="' . esc_attr( $args['aria_label'] ) . '"' : ''; // Backward compatibility, in case a child theme template uses a `label` argument. if ( empty( $twentytwenty_aria_label ) && ! empty( $args['label'] ) ) { $twentytwenty_aria_label = 'aria-label="' . esc_attr( $args['label'] ) . '"'; } ?> <form role="search" <?php echo $twentytwenty_aria_label; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped above. ?> method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> <label for="<?php echo esc_attr( $twentytwenty_unique_id ); ?>"> <span class="screen-reader-text"><?php _e( 'Search for:', 'twentytwenty' ); // phpcs:ignore: WordPress.Security.EscapeOutput.UnsafePrintingFunction -- core trusts translations ?></span> <input type="search" id="<?php echo esc_attr( $twentytwenty_unique_id ); ?>" class="search-field" placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder', 'twentytwenty' ); ?>" value="<?php echo get_search_query(); ?>" name="s" /> </label> <input type="submit" class="search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'twentytwenty' ); ?>" /> </form>
[-] style-rtl.css
[edit]
[+]
classes
[-] index.php
[edit]
[-] searchform.php
[edit]
[+]
..
[-] package-lock.json
[edit]
[-] package.json
[edit]
[-] footer.php
[edit]
[-] .stylelintrc.json
[edit]
[-] header.php
[edit]
[-] style.css
[edit]
[-] 404.php
[edit]
[-] readme.txt
[edit]
[+]
templates
[+]
assets
[-] .htaccess
[edit]
[-] screenshot.png
[edit]
[-] singular.php
[edit]
[-] functions.php
[edit]
[-] print.css
[edit]
[+]
template-parts
[-] comments.php
[edit]
[+]
inc