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

#30704

Anna
Keymaster

If you want to add decimals:

First look for all number_format occurrences.

Some times you will find
$price = number_format( intval( get_post_meta($post->ID, ‘property_price’, true) ) ). ‘ ‘ . $currency;

Replace intval with floatval and should be ok

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