FEATURE Adding a page-single class to wrapper to best handle the styles

This commit is contained in:
Nonimart 2026-02-24 17:36:33 +01:00
parent 77fe8c8ec0
commit 37656d8b05

View File

@ -3,7 +3,7 @@ get_header();
$revueID = get_field('related_revue', get_the_ID()); $revueID = get_field('related_revue', get_the_ID());
?> ?>
<div class="page--single-articles" data-article-id="<?php echo get_the_ID(); ?>"> <div class="page-single page--single-articles" data-article-id="<?php echo get_the_ID(); ?>">
<?php if (have_posts()) : ?> <?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?> <?php while (have_posts()) : the_post(); ?>
<?php get_template_part('template-parts/post-header'); ?> <?php get_template_part('template-parts/post-header'); ?>