Your address will show here +12 34 56 78

This topic contains 1 reply, has 2 voices, and was last updated by  Anna 3 years, 4 months ago.

  • Author
    Posts
  • #39358

    Sye

    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.

    Thanks

  • #39535

    Anna
    Keymaster

    Hi,

    Replace default variables with these values. Should work.

    ‘meta_key’ => ‘property_price’,
    ‘orderby’ => ‘meta_value_num’,
    ‘order’ => ‘DESC’,

    Thank you
    Anna

You must be logged in to reply to this topic.