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:
parent
4147a731ce
commit
38ec53bc35
|
@ -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']) { ?>
|
||||||
|
|
Loading…
Reference in New Issue