whoami7 - Manager
:
/
home
/
qbizpnmr
/
qruom.com
/
wp-content
/
plugins
/
boldgrid-gallery
/
boldgrid
/
templates
/
Upload File:
files >> /home/qbizpnmr/qruom.com/wp-content/plugins/boldgrid-gallery/boldgrid/templates/slider-4bottom.php
<?php // Prevent direct calls if ( ! defined( 'WPINC' ) ) { header( 'Status: 403 Forbidden' ); header( 'HTTP/1.1 403 Forbidden' ); exit(); } ?> <script type="text/html" id="tmpl-editor-gallery-boldgrid-slider4"> <# if ( data.attachments ) { #> <div class="gallery"> <# _.each( data.attachments, function( attachment, index ) { #> <# if ( data.attachments.length > 4 && index == 0 ) { #> <div class='one-line-imhwpb'> <dl class="gallery-item single-image-imhwpb"> <dt class="gallery-icon"> <# if ( attachment.thumbnail ) { #> <img src="{{ attachment.thumbnail.url }}" width="{{ attachment.thumbnail.width }}" height="{{ attachment.thumbnail.height }}" /> <# } else { #> <img src="{{ attachment.url }}" /> <# } #> </dt> <# if ( attachment.caption ) { #> <dd class="wp-caption-text gallery-caption"> {{ attachment.caption }} </dd> <# } #> </dl> </div> <# } #> <# }); #> <# if ( data.attachments.length >= 1 ) { #> <# if ( data.attachments.length === 1 ) { #> <# _.each( [3,2,1], function( num, index ) { #> <div class="gallery-item slider4bottomlinks-imhwpb" > <div class="gallery-icon"> Missing Attachment </div> </div> <# }); #> <# } else if ( data.attachments.length === 2 ) { #> <# _.each( [2,1], function( num, index ) { #> <div class="gallery-item slider4bottomlinks-imhwpb" > <div class="gallery-icon"> Missing Attachment </div> </div> <# }); #> <# } else if ( data.attachments.length === 3 ) { #> <div class="gallery-item slider4bottomlinks-imhwpb" > <div class="gallery-icon"> Missing Attachment </div> </div> <# } #> <# _.each( data.attachments, function( attachment, index ) { #> <# if ( data.attachments.length - index <= 4 ) { #> <div class="gallery-item slider4bottomlinks-imhwpb" > <dt class="gallery-icon"> <# if ( attachment.thumbnail ) { #> <img src="{{ attachment.thumbnail.url }}"/> <# } else { #> <img src="{{ attachment.url }}" /> <# } #> </dt> <# if ( attachment.caption ) { #> <dd class="wp-caption-text gallery-caption"> {{ attachment.caption }} </dd> <# } #> </div> <# } #> <# }); #> <# } #> </div> <# } else { #> <div class="wpview-error"> <div class="dashicons dashicons-format-gallery"></div><p><?php _e( 'No items found.' ); ?></p> </div> <# } #> </script>
Copyright ©2021 || Defacer Indonesia