| Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64 Path : /home/udaipurk/www/websites/rishhh/wp-content/themes/xstore/ |
| Current File : //home/udaipurk/www/websites/rishhh/wp-content/themes/xstore/woosearchform.php |
<?php
/**
* The template for displaying search forms
* @xstore-version 9.4.0
*/
defined( 'ABSPATH' ) || exit( 'Direct script access denied.' );
?>
<form action="<?php echo ( class_exists('WooCommerce') ) ? esc_url( get_permalink( wc_get_page_id( 'shop' ) ) ) : esc_url( home_url( '/' ) ); ?>" role="search" class="" method="get">
<div class="input-row">
<input type="text" value="" placeholder="<?php esc_attr_e( 'Type here...', 'xstore' ); ?>" autocomplete="off" class="form-control" name="s" />
<input type="hidden" name="post_type" value="product" />
<?php if ( defined( 'ICL_LANGUAGE_CODE' ) && ! defined( 'LOCO_LANG_DIR' ) ) : ?>
<input type="hidden" name="lang" value="<?php echo ICL_LANGUAGE_CODE; ?>"/>
<?php endif ?>
<button type="submit"><?php esc_html_e( 'Search', 'xstore' ); ?><i class="et-icon et-zoom"></i></button>
</div>
</form>