General Question

PupnTaco's avatar

WordPress: my Search widget is lost... how to fix?

Asked by PupnTaco (13860points) 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

jrpowell's avatar

<!—<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

PupnTaco's avatar

Thanks JP, I’ll let you know.

jrpowell's avatar

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?

PupnTaco's avatar

PM sent. :)

PupnTaco's avatar

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>—->

jrpowell's avatar

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

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther