searchform.php hijacking comment.php?
-
Everytime I try to add a comment to my post I end up with a ‘no search results found page.’
I know exactly whats causing the problem but I don’t know how to fix it! My problem comes from not having a search button in my searchform.. this is what searchform.php looks like:
<form method="get" id="search_form" action="<?php bloginfo('home'); ?>" /> <input name="s" type="text" class="search_input" id="s" onfocus="if (this.value == 'search') {this.value = '';}" onblur="if (this.value == '') {this.value = 'search';}" value="Search" /> <input type="hidden" id="searchsubmit" value="Search" />
Something in there ia conflicting with my comment.php because when I remove the code everything works fine and I can submit comments. My comment.php page is untouched so it has the default code.
Any ideas?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘searchform.php hijacking comment.php?’ is closed to new replies.