• I was able to install infinite loading on the search page using YITH Infinite Scrolling (Settings used, in case it helps anyone: https://ibb.co/vHjrh9r), but thats not working for the results on the map, only displaying the results from the first page.

    To solve this problem, I would like to always show 600 results on the map only, keeping the 15 per page configured in the form.

    I tried to add the below function in my theme’s functions.php file, but it didn’t work that way.

    function gmw_modify_default_search_results( $gmw ) {
    
    $gmw['map_usage']['display_list'] = '600';
    
    return $gmw;
    }
    add_filter( 'gmw_default_form_values', 'gmw_modify_default_map_type', 50 );

    Is it possible to change the number of results only on the map through the function? If yes, could you help me with a valid function to display 600 results on the map?

    Thank you all!

    The page I need help with: [log in to see the link]

  • The topic ‘Change number of results on map only.’ is closed to new replies.