add an article slider in the blog listing

Hi @designfrance,

yes it’s possible. There are a lot of possible approaches. The easiest might be to get any slider js like splide, swiper, slick-slider and include it into your template like

<section class="splide">
 <div class="splide__track">
		<div class="splide__list">
 {% set pop_posts = blog_popular_posts('default', 2) %}
 {% for pop_post in pop_posts %}
<div class="splide__slide">
<div class="article__consulte"> 
 <div class="article__consulte__date">
 {% for tag in pop_post.tag_list %} {# {% set t = t + 1 %} {% if t == 1 %} #}
 <a class="topic-link" href="{{ blog_tag_url(group.id, tag.slug) }}">{{ tag.name }}</a> 
 {# {% endif %} #} {% endfor %} 
 <span class="card-post__date"> - {{ pop_post.publish_date|datetimeformat('%e %B %Y') }}</span>
 </div>
 <div class="article__consulte__titre">
 <h3><a href="{{ pop_post.absolute_url }}" title="{{ pop_post.name }}">{{ pop_post.name }}</a></h3>
 </div>
 <div class="article__consulte__cta">
 <a class="link" href="{{ pop_post.absolute_url }}" title="{{ pop_post.name }}">Lire</a>
 </div> 
 </div>
</div>
 {% endfor %}
		</div>
 </div>
</section>

(splide js example)

hope that helps

best,

Anton