REFACTOR Adapting template part import with new path

This commit is contained in:
Antoine M 2026-02-24 17:28:52 +01:00
parent d495b9334c
commit 5c2f3d0aa5

View File

@ -82,7 +82,7 @@ $types = get_terms(array(
<ul class="post-grid__list"> <ul class="post-grid__list">
<?php if (isset($posts_query) && $posts_query->have_posts()) : ?> <?php if (isset($posts_query) && $posts_query->have_posts()) : ?>
<?php while ($posts_query->have_posts()) : $posts_query->the_post(); ?> <?php while ($posts_query->have_posts()) : $posts_query->the_post(); ?>
<?php get_template_part('template-parts/components/post-card', null, array( <?php get_template_part('template-parts/components/cards/post-card', null, array(
'ID' => get_the_ID(), 'ID' => get_the_ID(),
)); ?> )); ?>
<?php endwhile; ?> <?php endwhile; ?>