<?php if (have_rows('additional_content')) :
    while (have_rows('additional_content')) :
        the_row();
        if (get_row_layout() == 'full_editor_content') : ?>
            <?php get_template_part('template-parts/additionalContent/editor'); ?>
        <?php elseif (get_row_layout() == 'half_editor_content') : ?>
            <?php get_template_part('template-parts/additionalContent/editor-repeater'); ?>
        <?php elseif (get_row_layout() == 'half_editor_image_content') : ?>
            <?php get_template_part('template-parts/additionalContent/half_editor_image'); ?>
        <?php elseif (get_row_layout() == 'content_blocks') : ?>
            <?php get_template_part('template-parts/additionalContent/content_blocks'); ?>
        <?php elseif (get_row_layout() == 'time_line') : ?>
            <?php get_template_part('template-parts/additionalContent/timeline'); ?>
        <?php elseif (get_row_layout() == 'gallery') : ?>
            <?php get_template_part('template-parts/additionalContent/gallery'); ?>
        <?php elseif (get_row_layout() == 'videos') : ?>
            <?php get_template_part('template-parts/additionalContent/videos'); ?>
        <?php endif;
    endwhile;
endif;
?>