PHP 8.1.33
Preview: searchform.php Size: 1.40 KB
/home/jambtst2015/public_html/qasandra.com/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; // 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( $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: 23

Name Size Perms Modified Actions
assets DIR
- drwxr-xr-x 2024-11-22 17:53:25
Edit Download
classes DIR
- drwxr-xr-x 2024-11-22 17:53:26
Edit Download
inc DIR
- drwxr-xr-x 2024-11-22 17:53:26
Edit Download
- drwxr-xr-x 2024-11-22 17:53:25
Edit Download
123 B lrw-r--r-- 2024-11-22 17:53:26
Edit Download
89 B lrw-r--r-- 2024-11-22 17:53:26
Edit Download
688 B lrw-r--r-- 2024-11-22 17:53:25
Edit Download
356 B lrw-r--r-- 2024-11-22 17:53:26
Edit Download
721 B lrw-r--r-- 2024-11-22 17:53:25
Edit Download
998 B lrw-r--r-- 2024-11-22 17:53:25
Edit Download
2.61 KB lrw-r--r-- 2024-11-22 17:53:26
Edit Download
2.07 KB lrw-r--r-- 2024-11-22 17:53:25
Edit Download
18.18 KB lrw-r--r-- 2024-11-22 17:53:25
Edit Download
982 B lrw-r--r-- 2024-11-22 17:53:25
Edit Download
3.30 KB lrw-r--r-- 2024-11-22 17:53:25
Edit Download
946 B lrw-r--r-- 2024-11-22 17:53:25
Edit Download
168.84 KB lrw-r--r-- 2024-11-22 17:53:25
Edit Download
2.30 KB lrw-r--r-- 2024-11-22 17:53:25
Edit Download
590 B lrw-r--r-- 2024-11-22 17:53:25
Edit Download
249 B lrw-r--r-- 2024-11-22 17:53:26
Edit Download
4.39 KB lrw-r--r-- 2024-11-22 17:53:26
Edit Download
276.27 KB lrw-r--r-- 2024-11-22 17:53:25
Edit Download
1.61 KB lrw-r--r-- 2024-11-22 17:53:26
Edit Download
1.40 KB lrw-r--r-- 2024-11-22 17:53:25
Edit Download
1.66 KB lrw-r--r-- 2024-11-22 17:53:25
Edit Download
151.25 KB lrw-r--r-- 2024-11-22 17:53:25
Edit Download
151.55 KB lrw-r--r-- 2024-11-22 17:53:26
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).