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
June 23, 2015 at 11:04 am
#5079
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 :)
![](https://wp-dreams.com/assets/envato/comment-button-knowledgebase.png)
![](https://wp-dreams.com/assets/envato/comment-button-support.png)
![](https://wp-dreams.com/assets/envato/comment-button-facebook.png)
![](https://wp-dreams.com/assets/envato/comment-button-twitter.png)