Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › The search page is open at all times
This topic contains 26 replies, has 2 voices, and was last updated by Ernest Marcinko 4 years, 4 months ago.
- AuthorPosts
- April 30, 2020 at 12:40 pm #27028
Hello
1, I would like to do as on this site https://ajaxsearchpro.com/elementor-live-filter/
men on between Divi / can I do it?2,
Can I set the search result to be random and will not come in by date?MVH Maria
April 30, 2020 at 12:46 pm #27029Hi Maria,
1. No, unfortunately that only works with the post or product elementor modules.
2. There is no option for that, but it is possible via custom code. I do not recommend that if it is avoidable, as random ordering performance can be very bad.
Try adding this custom code to the functions.php in your theme/child theme directory. Before editing, please make sure to have a full site back-up just in case!
Best,add_filter( 'asp_query_args', 'asp_order_by_rand', 10, 1 ); function asp_order_by_rand($args) { $args['cpt_query'] = array( 'fields' => '', 'join' => '', 'where' => '', 'orderby' => 'RAND(), ' ); return $args; }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 30, 2020 at 1:01 pm #27030okay thank you very much.
Can I have the search result / box open all the time?
Now you have to search and then will come up with their best.
April 30, 2020 at 1:45 pm #27031Hi,
Sure, you can enable auto populate feature, then the search will automatically show results on page load.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 30, 2020 at 1:47 pm #27032Can you get the Categories options in two different search fields (choice to choose) + tag so that there will be a total of 3 fields to fill in before you get an answer?
April 30, 2020 at 1:59 pm #27033perfect then I also have random choices there;)
April 30, 2020 at 2:54 pm #27035Well, you can use the filters for that, but not separate search bars, that is not possible, I’m sorry.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 30, 2020 at 3:03 pm #270381, okay but can I do two filters then with categories? and one with a tag
April 30, 2020 at 3:07 pm #27039Sure, something similar should be possible, check the category filters documentation, and post tag filters are here 🙂
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 30, 2020 at 3:23 pm #27040I’m looking and looking but can’t find. where do i change the bottom color Here see picture
Attachments:
You must be logged in to view attached files.April 30, 2020 at 3:41 pm #27042Yes exactly as the movie shows men how do I get towns / cities
I my list see picture
Attachments:
You must be logged in to view attached files.April 30, 2020 at 4:17 pm #270453, then another question
when i load the page it gets very high up see picture i can get it down (padding) so it gets lower down. see page https://lokalhelhet.se/falkoping-skaraborg/Attachments:
You must be logged in to view attached files.May 1, 2020 at 11:39 am #27050Hi,
1. That color seems to be coming from the theme or the page builder, the container element of the search. If you are using a page builder, then check the element where the shortcode is placed in, that will be it.
2. You can change the display mode, if you want drop-down filter. Here for post tags.
3. Make sure this is turned off.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 1, 2020 at 2:10 pm #27051thank you thank you
No. 2 I have my places in category / and want a choice for these. then I want ex. cafe which is in category as a choice. + tagged as a choice
a total of 3 columns in the search.
but I can only select Category once for the module. see picture though this is with mac calendar i have posted.in the movie you send me to there was one with places how do you get it?
MVH Maria
Attachments:
You must be logged in to view attached files.May 1, 2020 at 2:52 pm #27053Hi,
Oh okay, I think I udnerstand now. You want another filter for the categories. That is not possible I’m afraid. For each taxonomy, the plugin will display one filter (cateories, tags, product categories etc..).
Best,
This would be only possible, if the location is a separate taxonomy.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.