The search page is open at all times

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 Ernest Marcinko 2 years, 3 months ago.

Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • #27028
    miashjarta43
    miashjarta43
    Participant

    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

    #27029
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi 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;
    }
    Best,
    Ernest Marcinko

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


    #27030
    miashjarta43
    miashjarta43
    Participant

    okay 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.

    #27031
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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 :)


    #27032
    miashjarta43
    miashjarta43
    Participant

    Can 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?

    #27033
    miashjarta43
    miashjarta43
    Participant

    perfect then I also have random choices there;)

    #27035
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Well, 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 :)


    #27038
    miashjarta43
    miashjarta43
    Participant

    1, okay but can I do two filters then with categories? and one with a tag

    #27039
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Sure, 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 :)


    #27040
    miashjarta43
    miashjarta43
    Participant

    I’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.
    #27042
    miashjarta43
    miashjarta43
    Participant

    Yes 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.
    #27045
    miashjarta43
    miashjarta43
    Participant

    3, 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.
    #27050
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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 :)


    #27051
    miashjarta43
    miashjarta43
    Participant

    thank 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.
    #27053
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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.

    Best,
    Ernest Marcinko

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


Viewing 15 posts - 1 through 15 (of 27 total)

You must be logged in to reply to this topic.