WP Residence Help WP Residence Help

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

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

3842 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 Required

Related Articles

  • Mobile Search in WPResidence
  • How to control the Advanced Search float position
  • Technical: Change the Schedule Tour Email Text and the Form Default Message
  • Property list filter customization

Help Categories

  • 18Agent, Agency & Developers
  • 5Blog Posts & Blog Lists
  • 38Elementor Shortcodes Built-In
  • 45FAQ
  • 15Footer
  • 5Getting Started
  • 37Header
  • 2IDX & MLSImport
  • 6Installation & Setup
  • 23Installation FAQ
  • 23Maps & Location Settings
  • 21Multi-Language Third Party Plugins
  • 6Other Third party Plugins
  • 19Pages
  • 4Payments & Monetization
  • 20Property Lists, Categories & Archive
  • 36Property Pages & Layouts
  • 31Search & Filtering
  • 162Technical how to | Custom Code Required
  • 8Technical: Actions and filters
  • 6Technical: Child Theme
  • 86Theme Options & Global Settings
  • 6Translations & Languages
  • 16WPBakery Shortcodes
  • 51WPResidence / WPEstate CRM
  • 50WPResidence 5.0 Documentation
  • 8WPResidence Elementor Studio
  • 50WPResidence Translate Plugin

Join Us On

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