PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
besa
/
page-templates
/
parts
/
device
<?php $_id = besa_tbay_random_key(); $autocomplete_search = besa_tbay_get_config('mobile_autocomplete_search', true); $enable_search_category = besa_tbay_get_config('mobile_enable_search_category', true); $enable_image = besa_tbay_get_config('mobile_show_search_product_image', true); $enable_price = besa_tbay_get_config('mobile_show_search_product_price', true); $search_type = besa_tbay_get_config('mobile_search_type', 'product'); $number = besa_tbay_get_config('mobile_search_max_number_results', 5); $minchars = besa_tbay_get_config('mobile_search_min_chars', 3); $options = apply_filters( 'besa_search_in_options', 10,2 ); $text_categories_search = esc_html__('All', 'besa'); $search_placeholder = besa_tbay_get_config('mobile_search_placeholder', esc_html__('Search for products...', 'besa')); $class_active_ajax = ( $autocomplete_search ) ? 'besa-ajax-search' : ''; ?> <?php $_id = besa_tbay_random_key(); ?> <div class="tbay-search-form tbay-search-mobile"> <form action="<?php echo esc_url( home_url( '/' ) ); ?>" method="get" data-parents="#tbay-mobile-menu-navbar" class="searchform <?php echo esc_attr( $class_active_ajax ); ?>" data-search-in="<?php echo esc_attr($options); ?>" data-appendto=".search-results-<?php echo esc_attr( $_id ); ?>" data-thumbnail="<?php echo esc_attr( $enable_image ); ?>" data-price="<?php echo esc_attr( $enable_price ); ?>" data-minChars="<?php echo esc_attr( $minchars ) ?>" data-post-type="<?php echo esc_attr( $search_type ) ?>" data-count="<?php echo esc_attr( $number ); ?>"> <div class="form-group"> <div class="input-group"> <span class="button-search-cancel"> <i class="tb-icon tb-icon-cross"></i> </span> <input data-style="right" type="text" placeholder="<?php echo esc_attr($search_placeholder); ?>" name="s" required oninvalid="this.setCustomValidity('<?php esc_attr_e('Enter at least 2 characters', 'besa'); ?>')" oninput="setCustomValidity('')" class="tbay-search form-control input-sm"/> <div class="search-results-wrapper"> <div class="besa-search-results search-results-<?php echo esc_attr( $_id ); ?>" data-ajaxsearch="<?php echo esc_attr( $autocomplete_search ) ?>" data-price="<?php echo esc_attr( $enable_price ); ?>"></div> </div> <div class="button-group input-group-addon"> <button type="submit" class="button-search btn btn-sm icon"> <i class="tb-icon tb-icon-magnifier"></i> </button> </div> </div> <?php if ( $enable_search_category ): ?> <?php wp_enqueue_style('sumoselect'); wp_enqueue_script('jquery-sumoselect'); ?> <div class="select-category input-group-addon"> <span class="category-title"><?php esc_html_e( 'Search in:', 'besa' ) ?></span> <?php if ( class_exists( 'WooCommerce' ) && besa_tbay_get_config('mobile_search_type') == 'product' ) : $args = array( 'show_option_none' => $text_categories_search, 'show_count' => true, 'hierarchical' => true, 'id' => 'product-cat-'.$_id, 'show_uncategorized' => 0 ); ?> <?php wc_product_dropdown_categories( $args ); ?> <?php elseif ( besa_tbay_get_config('mobile_search_type') == 'post' ): $args = array( 'show_option_all' => $text_categories_search, 'show_count' => 1, 'hierarchical' => true, 'show_uncategorized' => 0, 'name' => 'category', 'id' => 'blog-cat-'.$_id, 'class' => 'postform dropdown_product_cat', ); ?> <?php wp_dropdown_categories( $args ); ?> <?php endif; ?> </div> <?php endif; ?> <input type="hidden" name="post_type" value="<?php echo esc_attr( besa_tbay_get_config('mobile_search_type') ); ?>" class="post_type" /> </div> </form> </div>
[+]
..
[-] footer-mobile.php
[edit]
[-] .device.php
[edit]
[-] productsearchform-mobileheader.php
[edit]
[-] topbar-mobile-v1.php
[edit]
[-] offcanvas-smartmenu.php
[edit]
[-] productsearchform-mobileinmenu.php
[edit]