Support » Fixing WordPress » Search form just isn’t functioning…

  • Not a bump, but I have a different problem:

    My search form just isn’t searching. No matter what i search, It only returns my post. what’s wrong?

    [code]
    <form method=”get” action=”http://foggyideas.hostmatrix.org/blog/index.php” name=”search”>
    <input type=”text” name=”search” size=”25″ value=”Search” onfocus=”this.value=”” />
    Find It!
    </form>
    [/code]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Try changing the action attribute to <?php echo $_SERVER['PHP_SELF']; ?>. That’s how I have it in my searchform.

    sorry, but it still doesn’t work. maybe this: i have this search form on my home.php, while my blog is /blog/index.php. as with the address above, i’ve set it to return directly to the blog itself. any other suggestions?

    I’m not sure what to tell you then. Maybe someone else can offer an answer?

    Hi,

    I’ve got a similar problem.

    My search form works – but only shows me one post. This is the same in my archives section – select once category or month and only one post will show in the Search Results. I have a few plugins – should I start deactivating them to see if that helps?

    thanks.

    Ah, I see that the results do show up, but I have to click ‘previous/next page’. Is there a way of having the results show on just one page – I had it like that once before. BTW – it’s rosschapman.com.

    thanks.

    Ok, I’ve deactivated most of the plugins, but still I get the same result.

    the problem site

    i could’ve sworn this was working before, but i could be wrong. i only noticed this within the last month. the search form doesn’t seem to do anything. from the pages i’ve tested in on, it just returns to the site index. is there any particular code i can show to help troubleshoot this problem?

    ignore my question. i don’t know why i made the changes i did to the form, but i compared it with the default, changed a few of the attributes back to the default and it worked. i guess the form needed to have certain attributes set to certain values.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Search form just isn’t functioning…’ is closed to new replies.