FEATURE Add conditional template part for 'analyses-etudes' post type
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a29689070d
commit
36a8045b86
|
|
@ -37,6 +37,9 @@ $postType = get_post_type();
|
||||||
</div>
|
</div>
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
<?php endif; ?>
|
<?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/see-also /-->'); ?>
|
||||||
<?php echo do_blocks('<!-- wp:carhop-blocks/explore-tags /-->'); ?>
|
<?php echo do_blocks('<!-- wp:carhop-blocks/explore-tags /-->'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user