Opal-Estate-Pro/templates/single-property/price.php

14 lines
424 B
PHP
Raw Normal View History

2019-09-10 06:27:33 +02:00
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
global $property, $post;
$fomart = $property->get_format_price();
?>
<div class="property-price">
<?php esc_html_e( 'Price:', 'opalestate-pro' ); ?><?php echo esc_html( $fomart . $property->get_price() ); ?>
</div>
<div class="property-saleprice">
<?php esc_html_e( 'Sale Price:', 'opalestate-pro' ); ?><?php echo esc_html( $fomart . $property->get_sale_price() ); ?>
</div>