Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM How to add more options in sort filters on property list – new coding required

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 2 years, 5 months ago.

  • Author
    Posts
  • #108557

    Anna
    Keymaster

    First add in property_list_filters.php at line 40

    $listing_filter_array = array(

    “1”=>__(‘Price High to Low’,’wpestate’),

    “2”=>__(‘Price Low to High’,’wpestate’),

    “0”=>__(‘Default’,’wpestate’)

    );

    then in ajax_functions – function ajax_filter_listings at line 1442 you have a switch at line 1535 – add your new “case” there and set the new order parameters

You must be logged in to reply to this topic.