PHP 8.3.27
Preview: searchform.php Size: 1.32 KB
/home7/doctorbruno/public_html/gurubruno.info/wp-content/themes/twentytwentyone/searchform.php
<?php
/**
 * The searchform.php template.
 *
 * Used any time that get_search_form() is called.
 *
 * @link https://developer.wordpress.org/reference/functions/wp_unique_id/
 * @link https://developer.wordpress.org/reference/functions/get_search_form/
 *
 * @package WordPress
 * @subpackage Twenty_Twenty_One
 * @since Twenty Twenty-One 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.
 */
$twentytwentyone_unique_id = wp_unique_id( 'search-form-' );

$twentytwentyone_aria_label = ! empty( $args['aria_label'] ) ? 'aria-label="' . esc_attr( $args['aria_label'] ) . '"' : '';
?>
<form role="search" <?php echo $twentytwentyone_aria_label; ?> method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
	<label for="<?php echo esc_attr( $twentytwentyone_unique_id ); ?>"><?php _e( 'Search&hellip;', 'twentytwentyone' ); // phpcs:ignore: WordPress.Security.EscapeOutput.UnsafePrintingFunction -- core trusts translations ?></label>
	<input type="search" id="<?php echo esc_attr( $twentytwentyone_unique_id ); ?>" class="search-field" value="<?php echo get_search_query(); ?>" name="s" />
	<input type="submit" class="search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'twentytwentyone' ); ?>" />
</form>

Directory Contents

Dirs: 4 × Files: 22
Name Size Perms Modified Actions
assets DIR
- drwxr-xr-x 2026-10-02 10:07:45
Edit Download
classes DIR
- drwxr-xr-x 2026-10-02 10:07:45
Edit Download
inc DIR
- drwxr-xr-x 2026-10-02 10:07:45
Edit Download
- drwxr-xr-x 2026-10-02 10:07:45
Edit Download
721 B lrw-r--r-- 2026-07-24 06:29:47
Edit Download
995 B lrw-r--r-- 2026-07-24 06:29:47
Edit Download
2.57 KB lrw-r--r-- 2026-07-24 06:29:50
Edit Download
7.14 KB lrw-r--r-- 2026-10-06 23:51:16
Edit Download
2.20 KB lrw-r--r-- 2026-07-24 06:29:50
Edit Download
17.38 KB lrw-r--r-- 2026-07-24 06:29:50
Edit Download
1.00 KB lrw-r--r-- 2026-07-24 06:29:50
Edit Download
3.33 KB lrw-r--r-- 2026-07-24 06:29:50
Edit Download
1.17 KB lrw-r--r-- 2026-07-24 06:29:50
Edit Download
44 B lrw-r--r-- 2026-10-02 10:07:45
Edit Download
624.91 KB lrw-r--r-- 2026-07-24 06:29:50
Edit Download
2.32 KB lrw-r--r-- 2026-07-24 06:29:51
Edit Download
590 B lrw-r--r-- 2026-07-24 06:29:51
Edit Download
319 B lrw-r--r-- 2026-07-24 06:29:51
Edit Download
6.33 KB lrw-r--r-- 2026-07-24 06:29:51
Edit Download
276.27 KB lrw-r--r-- 2026-07-24 06:29:51
Edit Download
1.62 KB lrw-r--r-- 2026-07-24 06:29:51
Edit Download
1.32 KB lrw-r--r-- 2026-07-24 06:29:51
Edit Download
1.66 KB lrw-r--r-- 2026-07-24 06:29:51
Edit Download
151.33 KB lrw-r--r-- 2026-07-24 06:29:51
Edit Download
151.73 KB lrw-r--r-- 2026-07-24 06:29:52
Edit Download
22.83 KB lrw-r--r-- 2026-07-24 06:29:52
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).