Sure. Here is the searchform.php file from the (custom) theme (that I did not write):
<div class="search"><form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
<input type="text" value="Search" name="s" id="s" onfocus="if (this.value == 'Search') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search';}" />
<input id="searchbutton" type="submit" name="submit" value="<?php _e('Go'); ?>" />
</form>
</div>
And here is the search.php file:
<?php include (TEMPLATEPATH . '/header-inner-pages.php'); ?>
<h2 class="pagetitle">Search Results</h2>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="postid" id="post-<?php the_ID(); ?>">
<div class="post">
<h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<p class="meta"><?php the_time('F j, Y'); ?></p>
<div class="postContent">
<?php the_excerpt(); ?>
<div style="clear:both;"></div>
</div>
</div><!-- end post -->
</div><!-- end postId-->
<?php endwhile; ?>
<div class="navigation1">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
<div style="clear:both;"></div>
</div>
<?php else: ?>
<h2 class="error">Sorry, unable to find the requested document.</h2>
<?php endif; ?>
</div><!-- end innerContent -->
<?php get_sidebar();?>
<?php get_footer(); ?>
I also need for it to search pages, as well as posts. That’s one reason I was interested in using the Search Everything plugin.
Thanks!!