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

23 lines
511 B
PHP
Raw Normal View History

2019-09-10 06:27:33 +02:00
<?php
global $property;
2019-09-27 08:57:08 +02:00
if ( ! $property->get_block_setting( 'virtual_tour' ) ) {
return;
}
$virtual_tour = $property->get_virtual_tour();
if ( ! $virtual_tour ) {
return;
}
2019-09-10 06:27:33 +02:00
?>
2019-09-27 08:57:08 +02:00
2019-09-10 06:27:33 +02:00
<div class="opalestate-box-content property-360-virtual-session">
2019-09-27 08:57:08 +02:00
<h4 class="outbox-title" id="block-tour360"><?php esc_html_e( '360° Virtual Tour', 'opalestate-pro' ); ?></h4>
2019-09-10 06:27:33 +02:00
<div class=" opalestate-box">
<div class="box-info">
2019-09-27 08:57:08 +02:00
<?php echo do_shortcode( $virtual_tour ); ?>
2019-09-10 06:27:33 +02:00
</div>
</div>
</div>