Server : Apache System : Linux server.lienzindia.com 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64 User : plutus ( 1007) PHP Version : 7.4.33 Disable Function : NONE Directory : /home/plutus/public_html/wp-content/themes/vrm/ |
Upload File : |
<?php /** * The template for displaying search forms * * @package Total WordPress theme * @subpackage Partials * @version 5.8.0 */ defined( 'ABSPATH' ) || exit; $placeholder = apply_filters( 'wpex_search_placeholder_text', esc_html__( 'Search', 'total' ), 'main' ); $action = apply_filters( 'wpex_search_action', esc_url( home_url( '/' ) ), 'main' ); $current_hook = current_action(); $class = 'searchform wpex-relative'; if ( 'wpex_hook_topbar_inner' === $current_hook ) { $class .= ' wpex-inline-block'; } ?> <form method="get" class="<?php echo esc_attr( $class ); ?>" action="<?php echo esc_attr( $action ); ?>"<?php wpex_aria_landmark( 'searchform' ); ?>> <label class="searchform-label wpex-text-current wpex-block wpex-m-0 wpex-p-0"> <span class="screen-reader-text"><?php echo esc_html( $placeholder ); ?></span> <input type="search" class="searchform-input field" name="s" placeholder="<?php echo esc_attr( $placeholder ); ?>"> </label> <?php if ( ! empty( $args['post_type'] ) && is_string( $args['post_type'] ) ) : ?> <input type="hidden" name="post_type" value="<?php echo esc_attr( $args['post_type'] ); ?>"> <?php endif; ?> <?php if ( defined( 'ICL_LANGUAGE_CODE' ) ) : ?> <input type="hidden" name="lang" value="<?php echo( ICL_LANGUAGE_CODE ); ?>"> <?php endif; ?> <?php do_action( 'wpex_searchform_fields' ); ?> <button type="submit" class="searchform-submit"><?php wpex_theme_icon_html( 'search' ); ?><span class="screen-reader-text"><?php esc_html_e( 'Submit', 'total' ); ?></span></button> </form>