• Resolved Courtney Fantinato

    (@ridingforlife)


    I have included the class “searchform” to the <form> element, and there is also an action. I have turned the JavaScript debugging on, and it IS finding my search form.

    <form role="search" id="searchform" class="searchform" method="get" action="'. home_url( '/' ) .'">';

    However, when I search it takes me to ‘%20)%20.’ no matter what I search for. I have tried changing the class name to something else in the theme file and in the AAPL settings, but I get the same thing.

    Any ideas as to why this is happening?

    Thanks!

    http://wordpress.org/extend/plugins/advanced-ajax-page-loader/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Courtney Fantinato

    (@ridingforlife)

    Of course, I confused myself. The action should be:

    action="<?php bloginfo('home'); ?>"

    Duh. That’s what happens when it’s in PHP to begin with and then moved into HTML later, hah.

    Up.
    Same here. As you can see the class for the search form is defined, but when trying to seek, results show on a new page. Any suggestions ?

    <form class=”searchform” action=”http://192.168.25.2/&#8221; onsubmit=”this.submit();return false;” method=”get”>
    <fieldset><input class=”searchfield” type=”text” placeholder=”Search” name=”s” value=””></input></fieldset>
    </form>

    Oh. Same issue with the tags … :/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search doesn't work?!’ is closed to new replies.