Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM Advanced Search Results Ordered by Price Reply To: Advanced Search Results Ordered by Price

#55530

Anna
Keymaster

Hi Atanas

In theory, these are the settings.

advanced_search_results.php

Look for

‘posts_per_page’ => 30,
‘meta_key’ => ‘prop_featured’,
‘orderby’ => ‘meta_value’,
‘order’ => ‘DESC’,
‘meta_query’ => $meta_query,

Replace with

‘posts_per_page’ => 30,
‘meta_key’ => ‘property_price’,
‘orderby’ => ‘meta_value_num’,
‘order’ => ‘DESC’,
‘meta_query’ => $meta_query,

Make sure you write PHP, not copy/paste. So you don’t copy wrong formatting.

Thank you
Anna

  • This reply was modified 3 years, 1 month ago by  Anna.