Yuzu Theme
from meowapps.com
This commit is contained in:
17
components/collection-card.php
Normal file
17
components/collection-card.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<div class="collection-card-container">
|
||||
<a href="<?= get_the_permalink( $collection['id'] ); ?>"
|
||||
class="collection-card <?= get_theme_mod('collection-card-header-ratio', 'three-two'); ?>">
|
||||
|
||||
<div class="background" style="background-image: url('<?= get_the_post_thumbnail_url($collection['id'],'large'); ?>')"></div>
|
||||
<div class="content">
|
||||
<h3>
|
||||
<?= $collection['name']; ?>
|
||||
</h3>
|
||||
<div class="collection-meta">
|
||||
<?php get_template_part('assets/icons/inline', 'camera.svg'); ?>
|
||||
<?= $collection['photos']; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</a>
|
||||
</div>
|
||||
Reference in New Issue
Block a user