diff --git a/templates/single-property/preview.php b/templates/single-property/preview.php index 45016f78..bd4d5c36 100755 --- a/templates/single-property/preview.php +++ b/templates/single-property/preview.php @@ -3,6 +3,7 @@ global $property; $galleries = $property->get_gallery(); $image_size = opalestate_get_option( 'opalestate_thumbnail_size', 'medium' ); + if ( isset( $galleries ) && $galleries ): ?> - + $src ): ?>
- gallery + gallery
diff --git a/templates/single-property/preview/gallery-slider.php b/templates/single-property/preview/gallery-slider.php index 03cb3882..2671e552 100755 --- a/templates/single-property/preview/gallery-slider.php +++ b/templates/single-property/preview/gallery-slider.php @@ -36,8 +36,8 @@ - -
gallery
+ $src ): ?> +
gallery