FEATURE Add conditional template part for 'analyses-etudes' post type
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2026-03-24 17:58:15 +01:00
parent a29689070d
commit 36a8045b86

View File

@ -37,6 +37,9 @@ $postType = get_post_type();
</div>
<?php endwhile; ?>
<?php endif; ?>
<?php if ($postType === 'analyses-etudes') : ?>
<?php get_template_part('template-parts/compositions/formulaire-commande-etude'); ?>
<?php endif; ?>
<?php echo do_blocks('<!-- wp:carhop-blocks/see-also /-->'); ?>
<?php echo do_blocks('<!-- wp:carhop-blocks/explore-tags /-->'); ?>
</div>