<!--[archive/ajax-load-more]-->

    <?php if( is_post_type_archive() ) : ?>

        <?php get_template_part( "template-parts/archive/ajax-load-more/post-type" ) ?>

    <?php elseif( is_tag() ) : ?>

        <?php get_template_part( "template-parts/archive/ajax-load-more/tag" ) ?>

    <?php elseif( is_author() ) : ?>

        <?php get_template_part( "template-parts/archive/ajax-load-more/author" ) ?>

    <?php elseif( is_category() && !is_events() ): ?>

        <?php get_template_part( "template-parts/archive/ajax-load-more/category" ) ?>

    <?php endif; ?>


<!--[/archive/ajax-load-more]-->