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(); ?> <?php while (have_posts()): the_post(); ?>
<div class="col"> <div class="col">
<div class="tainacan-frame"> <div class="tainacan-frame">
<div class="frame"> <?php if ( tainacan_current_view_displays('thumbnail') ): ?>
<div class="mat"> <a href="<?php the_permalink(); ?>">
<div class="art"> <div class="frame">
<?php if ( tainacan_current_view_displays('thumbnail') ): ?> <div class="mat">
<a href="<?php the_permalink(); ?>"> <div class="art">
<?php the_post_thumbnail('medium'); ?>
</a> <?php the_post_thumbnail('medium'); ?>
<?php endif; ?> </div>
</div>
</div> </div>
</div> </a>
</div> <?php endif; ?>
<?php if ( tainacan_current_view_displays('title') ): ?> <?php if ( tainacan_current_view_displays('title') ): ?>
<p class="metadata-title"> <p class="metadata-title">
<a href="<?php the_permalink(); ?>"> <a href="<?php the_permalink(); ?>">