| Server IP : 144.76.79.100 / Your IP : 216.73.216.103 [ Web Server : Apache System : Linux ch05.wehostwebserver.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64 User : razzlestore ( 1092) PHP Version : 8.2.29 Disable Function : NONE Domains : 343 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/cwd/wp-content/themes/oceanwp/partials/header/style/ |
Upload File : |
<?php
/**
* Search Form for The Medium Header Style
*
* @package OceanWP WordPress theme
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Post type.
$search_post_type = get_theme_mod( 'ocean_menu_search_source', 'any' );
?>
<div id="medium-searchform" class="header-searchform-wrap clr">
<form id="medh-search" method="get" action="<?php echo esc_url( home_url( '/' ) ); ?>" class="header-searchform" aria-label="<?php echo esc_attr( oceanwp_theme_strings( 'owp-string-website-search-form', false ) ); ?>">
<label for="medh-input"><?php echo esc_html( oceanwp_theme_strings( 'owp-string-medium-header-search-text', false ) ); ?></label>
<input aria-labelledby="medh-search medh-input" id="medh-input" type="search" name="s" autocomplete="off" value="" />
<button class="search-submit"><?php oceanwp_icon( 'search' ); ?><span class="screen-reader-text"><?php echo esc_html( oceanwp_theme_strings( 'owp-string-mobile-submit-search', false ) ); ?></span></button>
<div class="search-bg"></div>
<?php if ( 'any' !== $search_post_type ) { ?>
<input type="hidden" name="post_type" value="<?php echo esc_attr( $search_post_type ); ?>">
<?php } ?>
<?php do_action( 'wpml_add_language_form_field' ); ?>
</form>
</div><!-- #medium-searchform -->