Home › Forums › WP ESTATE – Real Estate WordPress Theme FORUM › Sorting listings
This topic contains 1 reply, has 2 voices, and was last updated by Anna 3 years, 4 months ago.
Im having some issues and have looked the support area of this site and found 1 with a similar issue and also a solution however…
I would like the listings on the site to be default sorted by price, they are sorted by recent just now.
I was referred to line 348 on advanced-search-results.php but this line in this document does not exist nor does the references you asked to look for and change “prop_featured”
So i am kind of stuck on how to set the default sorting order of property listings.
Replace default variables with these values. Should work.
‘meta_key’ => ‘property_price’,
‘orderby’ => ‘meta_value_num’,
‘order’ => ‘DESC’,
You must be logged in to reply to this topic.