/wp-content/themes/simple-catch/searchform.php
PHP | 19 lines | 11 code | 1 blank | 7 comment | 0 complexity | 8279d0c8eb81f1336c91b905ceaf3026 MD5 | raw file
Possible License(s): GPL-2.0, AGPL-1.0, LGPL-2.1
- <?php
- /**
- * The template for displaying search forms in Simple Catch
- *
- * @package Catch Themes
- * @subpackage Simple_Catch
- * @since Simple Catch 1.0
- */
- global $simplecatch_options_settings;
- $options = $simplecatch_options_settings;
- $simplecatch_search_display_text = $options[ 'search_display_text' ];
- $simplecatch_search_button_text = $options[ 'search_button_text' ];
- ?>
- <form method="get" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
- <input type="text" class="search" value="<?php echo esc_attr( $simplecatch_search_display_text ); ?>" name="s" id="s" title="Type Keyword" />
- <button><?php printf( __( '%s', 'simplecatch' ), esc_attr( $simplecatch_search_button_text ) ); ?></button>
- <div class="CL"></div>
- </form>