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

<?php if( get_post_type() === "profile_article" ) : ?>

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

<?php else : ?>

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

<?php endif; ?>

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