Remove unused function

This commit is contained in:
Fabiano 2018-07-19 15:45:22 -03:00
parent 2234c6bb04
commit 79b524ca9a
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
<p class="tainacan-list-collection--grid-title text-black text-left">
<?php the_title(); ?>
</p>
<?php if ( has_post_thumbnail() && get_the_post_thumbnail_url(get_the_ID()) ) : ?>
<?php if ( has_post_thumbnail() ) : ?>
<img src="<?php echo get_the_post_thumbnail_url(get_the_ID(), 'tainacan-medium') ?>" class="img-fluid tainacan-list-collection--grid-img" alt="">
<?php else : ?>
<div class="image-placeholder">

View File

@ -15,7 +15,7 @@
<?php while(have_posts()): the_post(); ?>
<tr class="tainacan-list-collection" onclick="location.href='<?php the_permalink(); ?>'">
<td class="collection-miniature">
<?php if ( has_post_thumbnail() && get_the_post_thumbnail_url(get_the_ID()) ) : ?>
<?php if ( has_post_thumbnail() ) : ?>
<img src="<?php echo get_the_post_thumbnail_url(get_the_ID(), 'tainacan-small') ?>" class="img-fluid rounded-circle" alt="">
<?php else : ?>
<div class="image-placeholder">

View File

@ -6,7 +6,7 @@
<a class="tainacan-list-collection--card-link mx-1" href="<?php the_permalink(); ?>">
<h5 class="tainacan-list-collection--title text-black"><?php the_title(); ?></h5>
<div class="media">
<?php if ( has_post_thumbnail() && get_the_post_thumbnail_url(get_the_ID()) ) : ?>
<?php if ( has_post_thumbnail() ) : ?>
<img src="<?php echo get_the_post_thumbnail_url(get_the_ID(), 'collection-list-card') ?>" class="tainacan-list-collection--card-img rounded-0 align-self-center mr-3" alt="">
<?php else : ?>
<div class="image-placeholder">