HEX
Server: LiteSpeed
System: Linux s882.use1.mysecurecloudhost.com 4.18.0-553.27.1.lve.el8.x86_64 #1 SMP Fri Nov 8 15:09:45 UTC 2024 x86_64
User: airservicecom (4307)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/airservicecom/public_html/wp-content/themes/air-service/searchform.php
<?php 
if ( !defined('ABSPATH') ){ die(); }

global $avia_config; 

//allows you to modify the search parameters. for example bbpress search_id needs to be 'bbp_search' instead of 's'. you can also deactivate ajax search by setting ajax_disable to true
$search_params = apply_filters( 'avf_frontend_search_form_param', array(
	'placeholder'  	=> __( '','avia_framework' ),
	'search_id'	   	=> 's',
	'form_action'	=> home_url( '/' ),
	'ajax_disable'	=> false
) );


?>

<form action="<?php echo $search_params['form_action']; ?>" id="searchform" method="get" class="av_disable_ajax_search">
	<div class="search-form">
		<input type="text" id="s" class="search-input" name="<?php echo $search_params['search_id']; ?>" value="<?php if( ! empty( $_GET['s'] ) ) echo get_search_query(); ?>" placeholder='<?php echo $search_params['placeholder']; ?>' />
        <button>
            <span>Search</span>
        </button>
	</div>
</form>