Opal-Estate-Pro/templates/single-property/price.php
2019-09-10 11:27:33 +07:00

14 lines
424 B
PHP
Executable File

<?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>