diff --git a/wp-content/themes/homeproz/inc/ajax-handlers.php b/wp-content/themes/homeproz/inc/ajax-handlers.php index 76809918..b6a3842d 100755 --- a/wp-content/themes/homeproz/inc/ajax-handlers.php +++ b/wp-content/themes/homeproz/inc/ajax-handlers.php @@ -98,10 +98,10 @@ function homeproz_ajax_filter_properties() { add_query_arg('paged', '%#%', $base_url), + 'base' => $filtered_url . '#page=%#%', 'format' => '', 'current' => max(1, $paged), 'total' => $max_pages, 'prev_text' => '← Previous', 'next_text' => 'Next →', 'type' => 'array', - 'add_args' => $filter_args, )); if ($pagination) : diff --git a/wp-content/themes/homeproz/template-parts/property/property-results.php b/wp-content/themes/homeproz/template-parts/property/property-results.php index b1e410e6..fe72ae67 100755 --- a/wp-content/themes/homeproz/template-parts/property/property-results.php +++ b/wp-content/themes/homeproz/template-parts/property/property-results.php @@ -96,11 +96,11 @@ $paged_properties = mls_get_properties($mls_args); str_replace($big, '%#%', esc_url(get_pagenum_link($big))), - 'format' => '?paged=%#%', + 'base' => $base_url . '#page=%#%', + 'format' => '', 'current' => max(1, $paged), 'total' => $max_pages, 'prev_text' => '← Previous',