Advanced AJAX Page Loader
[resolved] Search doesn't work?! (3 posts)

  1. Courtney Fantinato
    Posted 2 years ago #

    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?



  2. Courtney Fantinato
    Posted 2 years ago #

    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.

  3. noflaye
    Posted 2 years ago #

    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 ... :/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced AJAX Page Loader
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic