X7ROOT File Manager
Current Path:
/home/hamdjcne/public_html/wp-content/themes/hub/templates/header
home
/
hamdjcne
/
public_html
/
wp-content
/
themes
/
hub
/
templates
/
header
/
ðŸ“
..
📄
custom.php
(1.88 KB)
📄
default.php
(6.76 KB)
📄
header-cart-offcanvas.php
(4.55 KB)
📄
header-cart.php
(4.13 KB)
📄
header-search-default.php
(1.86 KB)
📄
header-search-frame.php
(3.99 KB)
📄
header-search-slide-top.php
(2.84 KB)
📄
header-search-visible-form.php
(979 B)
📄
header-search-zoom-out.php
(3.54 KB)
📄
header-search.php
(3.1 KB)
📄
header-title-bar-bbpress.php
(849 B)
📄
header-title-bar.php
(10.12 KB)
Editing: header-search-frame.php
<?php $description = $atts['description']; $suggestions_title = $atts['suggestions_title']; $suggestions_title2 = $atts['suggestions_title2']; $suggestions_title3 = $atts['suggestions_title3']; $suggestions = $atts['suggestions']; $suggestions2 = $atts['suggestions2']; $suggestions3 = $atts['suggestions3']; $icon_text = $atts['icon_text']; $icon_text_align = $atts['icon_text_align']; $show_icon = $atts['show_icon']; $icon_style = $atts['icon_style']; $trigger_class = array( 'ld-module-trigger', 'collapsed', $icon_text_align, $show_icon, $icon_style, ); if ( defined( 'ELEMENTOR_VERSION' ) && is_callable( 'Elementor\Plugin::instance' ) ) { $icon = !empty($icon_render) ? $icon_render : 'lqd-icn-ess icon-ld-search'; } else { $icon_opts = liquid_get_icon( $atts ); $icon = !empty( $icon_opts['type'] ) && ! empty( $icon_opts['icon'] ) ? $icon_opts['icon'] : 'lqd-icn-ess icon-ld-search'; } if ( !isset($search_type) ){ if( class_exists( 'WooCommerce' ) ) $search_type = "product"; else $search_type = "post"; } ?> <div class="ld-module-search lqd-module-search-frame d-flex align-items-center" data-module-style='lqd-search-style-frame' > <?php $search_id = uniqid( 'search-' ); ?> <span class="<?php echo liquid_helper()->sanitize_html_classes( $trigger_class ) ?>" role="button" data-ld-toggle="true" data-toggle="collapse" data-target="<?php echo '#' . esc_attr( $search_id ); ?>" data-bs-toggle="collapse" data-bs-target="<?php echo '#' . esc_attr( $search_id ); ?>" aria-controls="<?php echo esc_attr( $search_id ) ?>" aria-expanded="false"> <span class="ld-module-trigger-txt"><?php echo do_shortcode($icon_text) ?></span> <?php if ( 'lqd-module-show-icon' === $show_icon ) { ?> <span class="ld-module-trigger-icon"> <i class="<?php echo esc_attr( $icon ) ?>"></i> </span> <?php } ?> </span> <div class="ld-module-dropdown collapse d-flex flex-column align-items-center justify-content-center pos-fix pos-tl text-center pointer-events-none" id="<?php echo esc_attr( $search_id ) ?>" aria-expanded="false"> <div class="ld-search-form-container"> <span class="lqd-module-search-close input-icon d-inline-block pos-abs" aria-label="Close search form" data-ld-toggle="true" data-toggle="collapse" data-target="<?php echo '#' . esc_attr( $search_id ); ?>" data-bs-toggle="collapse" data-bs-target="<?php echo '#' . esc_attr( $search_id ); ?>" aria-controls="<?php echo esc_attr( $search_id ) ?>" aria-expanded="false"><i class="lqd-icn-ess icon-ion-ios-close"></i></span> <form class="ld-search-form" role="search" method="get" action="<?php echo esc_url( home_url( '/' ) ) ?>"> <input class="d-block mx-auto" value="<?php echo get_search_query() ?>" name="s" type="search" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" /> <input type="hidden" name="post_type" value="<?php echo esc_attr( $search_type ); ?>" /> <?php if( !empty( $description ) ) { ?> <span class="lqd-module-search-info d-block font-weight-bold text-end"><?php echo esc_html( $description ); ?></span> <?php } ?> </form> <div class="lqd-module-search-related d-flex mx-auto mt-0 mb-0"> <?php if( !empty( $suggestions_title ) && !empty( $suggestions ) ) { ?> <div class="lqd-module-search-suggestion text-start"> <h3><?php echo esc_html( $suggestions_title ); ?></h3> <p><?php echo wp_kses_post( $suggestions ); ?></p> </div> <?php } ?> <?php if( !empty( $suggestions_title2 ) && !empty( $suggestions2 ) ) { ?> <div class="lqd-module-search-suggestion text-start"> <h3><?php echo esc_html( $suggestions_title2 ); ?></h3> <p><?php echo wp_kses_post( $suggestions2 ); ?></p> </div> <?php } ?> <?php if( !empty( $suggestions_title3 ) && !empty( $suggestions3 ) ) { ?> <div class="lqd-module-search-suggestion text-start"> <h3><?php echo esc_html( $suggestions_title3 ); ?></h3> <p><?php echo wp_kses_post( $suggestions3 ); ?></p> </div> <?php } ?> </div> </div> </div> </div>
Upload File
Create Folder