This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 9 years, 2 months ago.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Show Results Initially on page load
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 9 years, 2 months ago.
Hi There,
I was wondering if there’s a way to show the results already on the page when someone loads the page (i.e. before clicking search or messing with the filters)?
I was hoping to show the last posts for example posted, then allow people to mess around with the filters (which would then function as currently done and filter down the results accordingly).
I would say this is akin to http://demo.designsandcode.com/sfpro-movie-reviews/
I purchased your plugin first, so wanted to do the same if possible. Appreciate the help.
Thanks,
E
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,You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |