REFACTOR Handling a generic post-card class for commoin styling

This commit is contained in:
Antoine M 2025-06-04 11:33:11 +02:00
parent 9fb9b3bb03
commit 4b7fc02440

View File

@ -15,15 +15,15 @@ $thematiques = get_terms(array(
));
?>
<section class="revues-grid content-section">
<section class="post-grid content-section">
<div class="content-section__inner">
<div class="revues-grid__toolbar">
<h2 class="revues-count">
<span class="revues-count__count">
<div class="post-grid__toolbar">
<h2 class="post-count">
<span class="post-count__count">
<?php echo $post_count; ?>
</span>
<span class="revues-count__text">
<span class="post-count__text">
<?php _e('Revues', 'dynamiques'); ?>
</span>
</h2>
@ -32,7 +32,7 @@ $thematiques = get_terms(array(
<input type="text" placeholder="<?php _e('Rechercher par mot-clé', 'dynamiques'); ?>">
</div>
<div class="revues-grid__toolbar-actions">
<div class="post-grid__toolbar-actions">
<select name="etiquettes">
<option value="1"><?php _e('Thématiques', 'dynamiques'); ?></option>
@ -56,7 +56,7 @@ $thematiques = get_terms(array(
</div>
<ul class="revues-grid__list">
<ul class="post-grid__list">
<?php if ($revues->have_posts()) : ?>
<?php while ($revues->have_posts()) : $revues->the_post(); ?>