Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › The search page is open at all times
- This topic has 26 replies, 2 voices, and was last updated 6 years ago by
Ernest Marcinko.
-
AuthorPosts
-
April 30, 2020 at 12:40 pm #27028
miashjarta43
ParticipantHello
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 #27029Ernest Marcinko
KeymasterHi 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!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; }April 30, 2020 at 1:01 pm #27030miashjarta43
Participantokay 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 #27031Ernest Marcinko
KeymasterHi,
Sure, you can enable auto populate feature, then the search will automatically show results on page load.
April 30, 2020 at 1:47 pm #27032miashjarta43
ParticipantCan 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 #27033miashjarta43
Participantperfect then I also have random choices there;)
April 30, 2020 at 2:54 pm #27035Ernest Marcinko
KeymasterWell, you can use the filters for that, but not separate search bars, that is not possible, I’m sorry.
April 30, 2020 at 3:03 pm #27038miashjarta43
Participant1, okay but can I do two filters then with categories? and one with a tag
April 30, 2020 at 3:07 pm #27039Ernest Marcinko
KeymasterSure, something similar should be possible, check the category filters documentation, and post tag filters are here 🙂
April 30, 2020 at 3:23 pm #27040miashjarta43
ParticipantI’m looking and looking but can’t find. where do i change the bottom color Here see picture
April 30, 2020 at 3:41 pm #27042miashjarta43
ParticipantYes exactly as the movie shows men how do I get towns / cities
I my list see picture
April 30, 2020 at 4:17 pm #27045miashjarta43
Participant3, 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/May 1, 2020 at 11:39 am #27050Ernest Marcinko
KeymasterHi,
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.
May 1, 2020 at 2:10 pm #27051miashjarta43
Participantthank 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
May 1, 2020 at 2:52 pm #27053Ernest Marcinko
KeymasterHi,
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..).
This would be only possible, if the location is a separate taxonomy. -
AuthorPosts
- You must be logged in to reply to this topic.