HEX
Server: Apache
System: Linux ruweb06.doruk.net.tr 6.8.0-79-generic #79-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 12 14:42:46 UTC 2025 x86_64
User: ilgazhavalandirma.com_lfvghapcl4 (11494)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/ilgazhavalandirma.com.tr/httpdocs/wp-content/themes/i-excel/searchform.php
<?php

$product_search = 0;
$product_search = get_theme_mod('product_search', 0);

?>
<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
	<label>
		<span class="screen-reader-text"><?php echo __( 'Search for:', 'i-excel' ) ?></span>
		<input type="search" class="search-field" placeholder="<?php echo __( 'Search...', 'i-excel' ) ?>" value="<?php echo esc_attr(get_search_query()) ?>" name="s" title="<?php echo __( 'Search for:', 'i-excel' ) ?>" />
	</label>
    <?php if( $product_search == 1 ) { ?>
    <?php echo '<input type="hidden" value="product" name="post_type" id="post_type" />'; ?>
    <?php } ?>
	
    <input type="submit" class="search-submit" value="<?php echo __( 'Search', 'i-excel' ) ?>" />
</form>