How to put the search box in one page only
-
Hello guys,
I would like to put my search bar of the theme “simple catch” in the page content and only in one page.
The “Search form” (searchform.php):<?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>Can anyone help me please finding out how to do that?
Thanks
- The topic ‘How to put the search box in one page only’ is closed to new replies.