add links to view modes grid and mosaic

This commit is contained in:
Leo Germani 2018-05-30 18:56:49 -03:00
parent c75e174733
commit 9ac7e77cba
2 changed files with 12 additions and 4 deletions

View File

@ -6,8 +6,12 @@
<?php while (have_posts()): the_post(); ?>
<div class="col">
<div class="tainacan-grid">
<?php the_post_thumbnail('medium'); ?>
<p class="metadata-title"><?php the_title(); ?></p>
<a href="<?php the_permalink(); ?>">
<?php the_post_thumbnail('medium'); ?>
</a>
<p class="metadata-title">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</p>
</div>
</div>

View File

@ -5,8 +5,12 @@
<?php while (have_posts()): the_post(); ?>
<div class="tainacan-mosaic">
<?php the_post_thumbnail('large'); ?>
<p class="metadata-title"><?php the_title(); ?></p>
<a href="<?php the_permalink(); ?>">
<?php the_post_thumbnail('large'); ?>
</a>
<p class="metadata-title">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</p>
</div>
<?php endwhile; ?>