Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM Problem with property list Reply To: Problem with property list



Hi Alenjandra,

We fixed this yesterday morning 🙂 I remember now. I’m copying the answer for other clients, in case someone else meets with this (although the update is now on theme forest)


go in functions.php (at the end of the file

replace function my_order with the code below (copy/paste)

Let me know if you need my help


// order by filter featured
function my_order($orderby) {
global $wpdb;
global $table_prefix;
$orderby = $table_prefix.’postmeta.meta_value DESC, ‘.$table_prefix.’posts.ID DESC’;
return $orderby;