Update template
This commit is contained in:
parent
357addff63
commit
fd32c80478
@ -37,28 +37,28 @@ if ( ! $floor_plans ) {
|
|||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<ul class="list-inline">
|
<ul class="list-inline">
|
||||||
<?php if ( isset( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_price' ] ) ) : ?>
|
<?php if ( isset( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_price' ] ) && $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_price' ] ) : ?>
|
||||||
<li class="plan-price">
|
<li class="plan-price">
|
||||||
<label class="plan-label"><?php esc_html_e( 'Price:', 'opalestate-pro' ); ?></label>
|
<label class="plan-label"><?php esc_html_e( 'Price:', 'opalestate-pro' ); ?></label>
|
||||||
<?php echo esc_html( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_price' ] ); ?>
|
<?php echo esc_html( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_price' ] ); ?>
|
||||||
</li>
|
</li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_size' ] ) ) : ?>
|
<?php if ( isset( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_size' ] ) && $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_size' ] ) : ?>
|
||||||
<li class="plan-size">
|
<li class="plan-size">
|
||||||
<label class="plan-label"><?php esc_html_e( 'Size:', 'opalestate-pro' ); ?></label>
|
<label class="plan-label"><?php esc_html_e( 'Size:', 'opalestate-pro' ); ?></label>
|
||||||
<?php echo esc_html( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_size' ] ); ?>
|
<?php echo esc_html( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_size' ] ); ?>
|
||||||
</li>
|
</li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_room' ] ) ) : ?>
|
<?php if ( isset( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_room' ] ) && $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_room' ] ) : ?>
|
||||||
<li class="plan-room">
|
<li class="plan-room">
|
||||||
<label class="plan-label"><?php esc_html_e( 'Rooms:', 'opalestate-pro' ); ?></label>
|
<label class="plan-label"><?php esc_html_e( 'Rooms:', 'opalestate-pro' ); ?></label>
|
||||||
<?php echo esc_html( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_room' ] ); ?>
|
<?php echo esc_html( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_room' ] ); ?>
|
||||||
</li>
|
</li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_bath' ] ) ) : ?>
|
<?php if ( isset( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_bath' ] ) && $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_bath' ] ) : ?>
|
||||||
<li class="plan-bath">
|
<li class="plan-bath">
|
||||||
<label class="plan-label"><?php esc_html_e( 'Baths:', 'opalestate-pro' ); ?></label>
|
<label class="plan-label"><?php esc_html_e( 'Baths:', 'opalestate-pro' ); ?></label>
|
||||||
<?php echo esc_html( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_bath' ] ); ?>
|
<?php echo esc_html( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_bath' ] ); ?>
|
||||||
@ -66,7 +66,7 @@ if ( ! $floor_plans ) {
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<?php if ( isset( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_content' ] ) ) : ?>
|
<?php if ( isset( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_content' ] ) && $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_content' ] ) : ?>
|
||||||
<div class="plan-content">
|
<div class="plan-content">
|
||||||
<?php echo esc_html( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_content' ] ); ?>
|
<?php echo esc_html( $plan[ OPALESTATE_PROPERTY_PREFIX . 'floor_content' ] ); ?>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user