Removes external check for ekko plugin.
This commit is contained in:
parent
a68606e494
commit
4942a1d2db
|
@ -91,7 +91,7 @@
|
||||||
<div class="single-item-collection--attachments-file">
|
<div class="single-item-collection--attachments-file">
|
||||||
<a
|
<a
|
||||||
class="<?php if (!wp_get_attachment_image( $attachment->ID, 'tainacan-interface-item-attachments')) echo'attachment-without-image'; ?>"
|
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
|
<?php
|
||||||
echo wp_get_attachment_image( $attachment->ID, 'tainacan-interface-item-attachments', true );
|
echo wp_get_attachment_image( $attachment->ID, 'tainacan-interface-item-attachments', true );
|
||||||
echo get_the_title( $attachment->ID );
|
echo get_the_title( $attachment->ID );
|
||||||
|
|
Loading…
Reference in New Issue