Origin commit

This commit is contained in:
Hoang Huu
2019-09-10 11:27:33 +07:00
commit 499e068e4f
844 changed files with 188705 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<?php
global $property;
$virtualTour = $property->get_virtual_tour();
?>
<?php if( $virtualTour ) : ?>
<div class="property-preview property-preview-custom-size">
<?php echo do_shortcode( $virtualTour ); ?>
</div>
<?php else : ?>
<?php if ( has_post_thumbnail() ): ?>
<div class="property-thumbnail">
<?php the_post_thumbnail( 'full' ); ?>
</div>
<?php endif; ?>
<?php endif; ?>