| Server IP : 217.160.0.251 / Your IP : 216.73.216.41 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : u94981163 ( 8991765) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/15/d754908516/htdocs/wp-content/themes/est-project/templates/property/ |
Upload File : |
<?php global $es_property, $es_settings; ?>
<div class="post__gallery">
<?php do_action( 'es_property_gallery_before_inner', $es_property ); ?>
<?php if ( $gallery = $es_property->gallery ) : ?>
<div class="post__gallery-inner">
<div class="post__gallery-image">
<?php foreach ( $gallery as $value ) : ?>
<div>
<a href="<?php echo wp_get_attachment_image_url( $value, 'full' ); ?>">
<div class="watermark"></div>
<?php echo wp_get_attachment_image( $value, 'property-single-gallery' ); ?>
</a>
</div>
<?php endforeach; ?>
</div>
<div class="post__gallery-image-pager-wrap">
<a href="#" class="slick-prev"></a>
<div class="post__gallery-image-pager">
<?php foreach ( $gallery as $value ) : ?>
<div><?php echo wp_get_attachment_image( $value, 'thumbnail_140x140' ); ?></div>
<?php endforeach; ?>
</div>
<a href="#" class="slick-next"></a>
</div>
</div>
<?php elseif ( $image = es_get_default_thumbnail( 'es-image-size-archive' ) ): ?>
<?php echo $image; ?>
<?php endif; ?>
</div>