Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM Format price remove commas and add blank Reply To: Format price remove commas and add blank

#8083

Anna

Sort by price after modifying number format

Replace this line in property-list.php :
‘orderby’ => ‘meta_value’,
by
‘orderby’ => ‘meta_value_num’,

It works with french number format : $price = number_format($price, 0, ‘,’, ‘ ‘);

  • This reply was modified 3 years, 4 months ago by  Anna.