Removes external check for ekko plugin.

This commit is contained in:
Mateus Machado Luna 2019-11-11 17:35:06 -03:00
parent a68606e494
commit 4942a1d2db
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@
<div class="single-item-collection--attachments-file">
<a
class="<?php if (!wp_get_attachment_image( $attachment->ID, 'tainacan-interface-item-attachments')) echo'attachment-without-image'; ?>"
href="<?php echo $href; ?>" data-toggle="lightbox" data-disable-external-check="true" data-gallery="example-gallery">
href="<?php echo $href; ?>" data-toggle="lightbox" data-gallery="example-gallery">
<?php
echo wp_get_attachment_image( $attachment->ID, 'tainacan-interface-item-attachments', true );
echo get_the_title( $attachment->ID );