PHP 8.1.33
Preview: searchform.php Size: 1.40 KB
/home/jambtst2015/public_html/aef.ng/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 2022-06-03 10:06:43
Edit Download
classes DIR
- drwxr-xr-x 2022-06-03 10:06:43
Edit Download
inc DIR
- drwxr-xr-x 2022-06-03 10:06:43
Edit Download
- drwxr-xr-x 2022-06-03 10:06:43
Edit Download
89 B lrw-r--r-- 2020-11-13 05:06:16
Edit Download
689 B lrw-r--r-- 2021-05-25 01:07:56
Edit Download
425 B lrw-r--r-- 2021-05-25 04:04:00
Edit Download
721 B lrw-r--r-- 2022-05-24 23:23:54
Edit Download
995 B lrw-r--r-- 2022-11-02 07:21:16
Edit Download
2.57 KB lrw-r--r-- 2022-05-24 23:23:54
Edit Download
2.20 KB lrw-r--r-- 2022-05-24 23:23:54
Edit Download
18.84 KB lrw-r--r-- 2023-11-08 04:50:50
Edit Download
1.00 KB lrw-r--r-- 2024-11-13 05:16:18
Edit Download
3.37 KB lrw-r--r-- 2023-03-29 23:04:36
Edit Download
1.17 KB lrw-r--r-- 2022-05-24 23:23:54
Edit Download
607.44 KB lrw-r--r-- 2024-11-13 05:16:18
Edit Download
2.46 KB lrw-r--r-- 2024-11-13 05:16:18
Edit Download
590 B lrw-r--r-- 2022-05-24 23:23:54
Edit Download
319 B lrw-r--r-- 2024-04-03 00:11:04
Edit Download
5.86 KB lrw-r--r-- 2024-11-13 05:16:18
Edit Download
276.27 KB lrw-r--r-- 2020-12-09 05:29:46
Edit Download
1.61 KB lrw-r--r-- 2022-05-24 23:23:54
Edit Download
1.40 KB lrw-r--r-- 2022-05-24 23:23:54
Edit Download
1.66 KB lrw-r--r-- 2022-05-24 23:23:54
Edit Download
152.36 KB lrw-r--r-- 2024-11-13 05:16:18
Edit Download
152.66 KB lrw-r--r-- 2024-11-13 05:16:18
Edit Download
22.97 KB lrw-r--r-- 2024-11-13 05:16:18
Edit Download

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