Opal-Estate-Pro/templates/single-property/virtualtour.php
2019-09-26 15:43:47 +07:00

23 lines
511 B
PHP
Executable File

<?php
global $property;
if ( ! $property->get_block_setting( 'virtual_tour' ) ) {
return;
}
$virtual_tour = $property->get_virtual_tour();
if ( ! $virtual_tour ) {
return;
}
?>
<div class="opalestate-box-content property-360-virtual-session">
<h4 class="outbox-title" id="block-tour360"><?php esc_html_e( '360° Virtual Tour', 'opalestate-pro' ); ?></h4>
<div class=" opalestate-box">
<div class="box-info">
<?php echo do_shortcode( $virtual_tour ); ?>
</div>
</div>
</div>