Okay
  Print

List my properties in order from the highest price to the lowest in WP Pro Real Estate 2, 3, 4 or 5

Problem:

Hi
When you press the search from the home screen, the property are listed in the order the were added to the back office,
I would like them to be in order of price from high to Low
how is this set
thanks
Original poster

Solution:

Hi!
You'll have to change a php file... So you might want to do a backup or use a child theme for that. Anyway...
Go to search-listings.php and look for "$search_values = array();", then put this code right after that:
$search_values['orderby']='meta_value_num';
$search_values['meta_key']='_ct_price';

Those single quotes must be preserved.