removing the_widget inside the_widget and just using the include for the searchform again.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2010-01-06 02:41:08 -08:00
parent 4147a731ce
commit 38ec53bc35
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class ComicPressMenubarWidget extends WP_Widget {
<div id="menunav"> <div id="menunav">
<?php if ($comicpress_options['enable_search_in_menubar']) { ?> <?php if ($comicpress_options['enable_search_in_menubar']) { ?>
<div class="menunav-search"> <div class="menunav-search">
<?php the_widget('WP_Widget_Search',array(),array('before_widget'=>'', 'after_widget'=>'')); ?> <?php include(get_template_directory().'/searchform.php'); ?>
</div> </div>
<?php } ?> <?php } ?>
<?php if ($comicpress_options['enable_rss_in_menubar']) { ?> <?php if ($comicpress_options['enable_rss_in_menubar']) { ?>