Server IP : 52.91.253.208 / Your IP : 3.147.79.84 [ Web Server : Apache System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64 User : daemon ( 1) PHP Version : 7.3.18 Disable Function : NONE Domains : 3 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/oceanwp/ |
Upload File : |
<?php /** * The template for displaying search forms. * * @package OceanWP WordPress theme */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } // Post type $post_type = get_theme_mod( 'ocean_menu_search_source', 'any' ); ?> <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', 'oceanwp' ); ?>"> <?php if ( 'any' != $post_type ) { ?> <input type="hidden" name="post_type" value="<?php echo esc_attr( $post_type ); ?>"> <?php } ?> </form>