Reply To: Show Results Initially on page load

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Show Results Initially on page load Reply To: Show Results Initially on page load

#5079

Ernest Marcinko
Keymaster

Hi!

The only way is using a custom script code in your website footer. First you will need to change one setting though, in order to make the search work with 0 input characters.

1. Go to the General Options -> Behavior panel and change the “Minimal character count to trigger search” option to 0

2. Add this script to your theme footer before the closing body tag: http://pastebin.com/raw.php?i=6hymZi4h

You can change the searchPhrase variable in that code if you want to use a default search phrase.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)