WP Residence Help WP Residence Help

  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / Search & Filtering, Technical how to | Custom Code / Technical: How to disable pagination on advanced search results/property lists

Technical: How to disable pagination on advanced search results/property lists

3994 views 1

If you are using the classic template you need to go to templates/normal_map_core.php and delete this line

<?php wpestate_pagination($prop_selection->max_num_pages, $range =2);
?>

Is around line 294
If you are using the half_map_core delete the same code as above- around line 167

Since the property list and advanced search results use the same templates to display the property list the pagination will not appear in both cases. If you want to show the pagination on the property list but now show on advanced search you could replace the code above with

<?php if( !is_page_template('advanced_search_results.php') ) {
wpestate_pagination($prop_selection->max_num_pages, $range =2);
}?>

Search & FilteringTechnical how to | Custom Code

Related Articles

  • How to Add Custom Fields to the Login, Register and Forgot Password Forms
  • FAQ: Price Slider Limits Do Not Update Automatically in Advanced Search
  • Mobile Search in WPResidence
  • How to control the Advanced Search float position
MLSImportWordPress IDX Plugin for MLS ListingsImport MLS listings into your WordPress website, customize your property pages, and keep your inventory updated.Start free 30-day trial →

Help Categories

  • 111 Installation & Changelog
  • 19Agent, Agency & Developers
  • 5Blog Posts & Blog Lists
  • 14Footer
  • 38Header
  • 2IDX & MLSImport
  • 23Maps & Location Settings
  • 50Multilingual Websites – WPEstate Translate (Included)
  • 21Pages & Page Templates
  • 4Payments & Monetization
  • 20Property Lists, Categories & Archive
  • 38Property Single Page
  • 32Search & Filtering
  • 170Technical how to | Custom Code
  • 9Technical: Actions and filters
  • 6Technical: Child Theme
  • 86Theme Options & Global Settings
  • 6Theme Translation & Localization
  • 28Third Party Plugins Compatible
  • 16WPBakery Shortcodes
  • 51WPResidence / WPEstate CRM
  • 9WPResidence Elementor Studio
  • 39WPResidence Elementor Widgets
  • 79WPResidence FAQ

Join Us On

Powered by WP Estate - All Rights Reserved
  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API