Support » Plugin: Advanced AJAX Page Loader » Search doesn't work?!

  • Resolved Courtney Fantinato


    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?


Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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=”” onsubmit=”this.submit();return false;” method=”get”>
    <fieldset><input class=”searchfield” type=”text” placeholder=”Search” name=”s” value=””></input></fieldset>

    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.