Adds link to item on frame view mode.

This commit is contained in:
mateuswetah 2018-05-30 17:16:34 -03:00
parent 0e07b27f00
commit b545012c29
1 changed files with 11 additions and 11 deletions

View File

@ -6,18 +6,18 @@
<?php while (have_posts()): the_post(); ?>
<div class="col">
<div class="tainacan-frame">
<?php if ( tainacan_current_view_displays('thumbnail') ): ?>
<a href="<?php the_permalink(); ?>">
<div class="frame">
<div class="mat">
<div class="art">
<?php if ( tainacan_current_view_displays('thumbnail') ): ?>
<a href="<?php the_permalink(); ?>">
<?php the_post_thumbnail('medium'); ?>
</div>
</div>
</div>
</a>
<?php endif; ?>
</div>
</div>
</div>
<?php if ( tainacan_current_view_displays('title') ): ?>
<p class="metadata-title">
<a href="<?php the_permalink(); ?>">