Home Page › Forums › WP Google Search › no search page was created, can i create one manually? › Reply To: no search page was created, can i create one manually?
Hi, the first issue is now solved, search results do again show only from within my site, somehow i guess Google CSE just needed a resave of the settings to work properly again.
Yet, i still have to solve the replacement of the WP default search bar!!
It’s no use to place [wp_google_searchbox]
into my posts or pages because theTheme already displays a search bar that uses WP default search.
Before various updates i had this setup right so the Themes search bar was replaced by the WP Search bar – unfortunately i can not recall how i managed to do this!!
Search bar as is visible at http://www.useroo.tk/
Theme called Tempera
Can youpoint me to it??
The theme has all sorts of PHP files,like a own search.php as well as searchform.php
Hmm, the searchform.php file contains this code
“<?php $search_text = __( ‘Search’, ‘tempera’ ); ?>
<form method=”get” id=”searchform”
action=”<?php echo esc_url(home_url( ‘/’ )); ?>/”>
<input type=”text” value=”<?php echo $search_text; ?>”
name=”s” id=”s”
onblur=”if (this.value == ”)
{this.value = ‘<?php echo $search_text; ?>’;}”
onfocus=”if (this.value == ‘<?php echo $search_text; ?>’)
{this.value = ”;}” />
<input type=”submit” id=”searchsubmit” value=”” />
</form>”
Would i have to replace this with the Google CSE code perhaps??