changing the search field to the_widget('WP_Widget_Search');

instead of a straight include

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-12-23 10:46:34 -08:00
parent 02e0a9f66f
commit 40da7b3935
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<div class="post-page"> <div class="post-page">
<h2 class="pagetitle"><?php _e('Page Not Found','comicpress'); ?></h2> <h2 class="pagetitle"><?php _e('Page Not Found','comicpress'); ?></h2>
<p><a href="<?php bloginfo('wpurl') ?>"><?php _e('Click here to return to the home page','comicpress'); ?></a> <?php _e('or try a search:','comicpress'); ?></p> <p><a href="<?php bloginfo('wpurl') ?>"><?php _e('Click here to return to the home page','comicpress'); ?></a> <?php _e('or try a search:','comicpress'); ?></p>
<p><?php include (get_template_directory() . '/searchform.php') ?></p> <p><?php the_widget('WP_Widget_Search'); ?></p>
</div> </div>
<div class="post-page-foot"></div> <div class="post-page-foot"></div>
</div> </div>