WordPress: my Search widget is lost... how to fix?
Asked by
PupnTaco (
13895)
September 6th, 2008
from iPhone
I know there are WordPress forums, but the crowd over there is more than a little assy.
I changed my home directory at pupntaco.com and since then, my sidebar search widget won’t appear. I’ve scoured all the PHPs and CSS files and can’t find anything (handcoding is not a strength).
Observing members:
0
Composing members:
0
6 Answers
<!—<div id=“nav”>
<div id=“nav2”>
<ul class=“nav2”>
<li><a href=“http://www.pupntaco.com”>Home</a></li>
</ul>
<form method=“get” id=“searchform” action=“http://www.pupntaco.com/”>
<div><input type=“text” value=”” name=“s” id=“s” />
<input type=“submit” id=“searchsubmit” value=“Search” />
</div>
</form>
</div>
</div>—>
Uncomment that part and see if it helps. I don’t know the structure of your site so I can’t say in what exact php file that is in.
http://www.pillowpersuasion.com/pics/pup.png
Thanks JP, I’ll let you know.
Do you mostly do design and graphics? In the the future could you possibly be open to doing a few jobs? Or is your plate full?
Nope, that didn’t fix it. Must be buried in some obscure place, I can’t figure it out.
Here’s what WP had in searchform.php (minus the commenting):
<—-!<form method=“get” id=“searchform” action=”<?php bloginfo(‘url’); ?>/”>
<div><input type=“text” value=”<?php the_search_query(); ?>” name=“s” id=“s” />
<input type=“submit” id=“searchsubmit” value=“Search” />
</div>
</form>—->
Your problem is starting here…
<!—<div id=“nav”>
That shouldn’t be in searchform.php
This is what my searchform.php looks like.
Answer this question
This question is in the General Section. Responses must be helpful and on-topic.