Yuzu Theme

from meowapps.com
This commit is contained in:
2022-05-03 09:37:05 +02:00
commit 523ccac38e
75 changed files with 15482 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
$featured_image = wp_get_attachment_image_src($folder['thumbnail_id'], 'large')[0];
$term_object = get_term($folder['id']);
?>
<div class="folder-card-container">
<div class="folder-card">
<div class="card-header">
<a href="<?= get_term_link($term_object); ?>" class="background three-two" style="background-image: url('<?= $featured_image; ?>')"></a>
</div>
<div class="card-body">
<h3><a href="<?= get_term_link($term_object); ?>"><?= $folder['name']; ?></a></h3>
<div class="folder-meta">
<?php $collections_count = $folder['collections']; ?>
<?php printf( esc_html( _n( '%d Collection', '%d Collections', $collections_count, 'yuzu' ) ), $folder['collections'] ); ?>
</div>
</div>
</div>
</div>