![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/walla3t.corals.io/wp-content/themes/apper/ |
<?php /** * The template for displaying search forms. * * @package Apper WordPress theme */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } // Post type $post_type = 'product'; ?> <form method="get" class="searchform" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>"> <input type="text" class="field" name="s" id="s" placeholder="<?php esc_html_e( 'Search', 'apper' ); ?>"> <?php if ( '2' != $post_type ) { ?> <input type="hidden" name="post_type" value="<?php echo esc_attr( $post_type ); ?>"> <?php } ?> <button type="submit" name="submit-search" class="button-search"><span class="icon-search fa fa-search"></span></button> </form>