2019-09-10 06:27:33 +02:00
|
|
|
<?php
|
|
|
|
global $property, $post;
|
|
|
|
|
|
|
|
$facilities = $property->get_facilities();
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
2019-10-03 05:13:19 +02:00
|
|
|
<?php if ( 'on' === $property->get_block_setting( 'facilities' ) && $facilities && isset( $facilities[0] ) && ! empty( $facilities[0] ) ): ?>
|
2019-09-10 06:27:33 +02:00
|
|
|
<div class="property-facilities box-inner-summary">
|
2020-07-13 04:41:00 +02:00
|
|
|
<h5 class="list-group-item-heading"><?php esc_html_e( 'Facilities', 'opalestate-pro' ); ?></h5>
|
2019-09-10 06:27:33 +02:00
|
|
|
<div class="list-group-item-text">
|
|
|
|
<div class="<?php echo apply_filters( 'opalestate_row_container_class', 'opal-row' ); ?>">
|
|
|
|
<?php foreach ( $facilities as $facility ): ?>
|
|
|
|
<div class="col-lg-6 col-sm-6 active">
|
|
|
|
<span>
|
|
|
|
<i class="fa fa-check"></i>
|
|
|
|
<?php echo esc_html( $facility[ OPALESTATE_PROPERTY_PREFIX . 'public_facilities_key' ] ); ?> :
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span><?php echo esc_html( $facility[ OPALESTATE_PROPERTY_PREFIX . 'public_facilities_value' ] ); ?></span>
|
|
|
|
</div>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|