at path:
ROOT
/
wp-content
/
themes
/
sinatra
/
searchform.php
run:
R
W
Run
assets
DIR
2025-12-13 10:14:07
R
W
Run
inc
DIR
2025-12-13 10:17:33
R
W
Run
languages
DIR
2025-12-13 10:17:33
R
W
Run
page-templates
DIR
2025-12-13 10:17:33
R
W
Run
template-parts
DIR
2025-12-13 10:17:32
R
W
Run
woocommerce
DIR
2025-12-13 10:17:33
R
W
Run
404.php
717 By
2024-10-16 22:06:05
R
W
Run
Delete
Rename
archive.php
741 By
2024-10-16 22:06:05
R
W
Run
Delete
Rename
changelog.txt
5.55 KB
2024-10-16 22:06:05
R
W
Run
Delete
Rename
comments.php
3.57 KB
2024-10-16 22:06:05
R
W
Run
Delete
Rename
footer.php
866 By
2024-10-16 22:06:05
R
W
Run
Delete
Rename
functions.php
4.36 KB
2024-10-16 22:06:05
R
W
Run
Delete
Rename
header.php
1.2 KB
2024-10-16 22:06:05
R
W
Run
Delete
Rename
index.php
1023 By
2024-10-16 22:06:05
R
W
Run
Delete
Rename
readme.txt
7.33 KB
2024-10-16 22:06:05
R
W
Run
Delete
Rename
rtl.css
321 By
2024-10-16 22:06:05
R
W
Run
Delete
Rename
screenshot.jpg
145.4 KB
2024-10-16 22:06:05
R
W
Run
Delete
Rename
search.php
759 By
2024-10-16 22:06:05
R
W
Run
Delete
Rename
searchform.php
1.23 KB
2024-10-16 22:06:05
R
W
Run
Delete
Rename
sidebar.php
1.36 KB
2024-10-16 22:06:05
R
W
Run
Delete
Rename
singular.php
978 By
2024-10-16 22:06:05
R
W
Run
Delete
Rename
style.css
1.52 KB
2024-10-16 22:06:05
R
W
Run
Delete
Rename
wpml-config.xml
676 By
2024-10-16 22:06:05
R
W
Run
Delete
Rename
error_log
up
📄
searchform.php
Save
<?php /** * The template for displaying search form. * * @package Sinatra * @author Sinatra Team <hello@sinatrawp.com> * @since 1.0.0 */ /** * Do not allow direct script access. */ if ( ! defined( 'ABSPATH' ) ) { exit; } // Support for custom search post type. $sinatra_post_type = apply_filters( 'sinatra_search_post_type', 'all' ); $sinatra_post_type = 'all' !== $sinatra_post_type ? '<input type="hidden" name="post_type" value="' . esc_attr( $sinatra_post_type ) . '" />' : ''; ?> <form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> <div> <input type="search" class="search-field" aria-label="<?php esc_attr_e( 'Enter search keywords', 'sinatra' ); ?>" placeholder="<?php esc_attr_e( 'Search', 'sinatra' ); ?>" value="<?php echo get_search_query(); ?>" name="s" /> <?php echo $sinatra_post_type; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> <button role="button" type="submit" class="search-submit" aria-label="<?php esc_attr_e( 'Search', 'sinatra' ); ?>"> <?php echo sinatra()->icons->get_svg( 'search', array( 'aria-hidden' => 'true' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </button> </div> </form>