have_posts() ) : ?>
have_posts() ) :
echo '';
echo '';
echo '';
while ( ( $loop->have_posts() ) && ( $i++ < 4 ) ) :
$loop->the_post();
get_template_part( 'template-parts/content', get_post_format() );
endwhile;
echo '
';
echo '';
endif;
}
echo '';
echo '';
$args['post_type'] = 'qualification';
$loop = new WP_Query( $args );
echo '
Qualifications
';
if ( $loop->have_posts() ) :
echo '
';
while ( $loop->have_posts() ) :
$loop->the_post();
$url = esc_url( get_permalink() );
echo '- ' . get_the_title() . '
';
endwhile;
echo '
';
else :
echo '
No qualifications.
';
endif;
echo '
';
echo '';
$args['post_type'] = 'award';
$loop = new WP_Query( $args );
echo '
Awards
';
if ( $loop->have_posts() ) :
echo '
';
while ( $loop->have_posts() ) :
$loop->the_post();
$url = esc_url( get_permalink() );
echo '- ' . get_the_title() . '
';
endwhile;
echo '
';
else :
echo '
No awards.
';
endif;
echo '
';
echo '';
$args['post_type'] = 'appearance';
$loop = new WP_Query( $args );
if ( $loop->have_posts() ) :
echo '';
echo '';
echo '';
while ( ( $loop->have_posts() ) ) :
$loop->the_post();
get_template_part( 'template-parts/content', get_post_format() );
endwhile;
echo '
';
echo '';
endif;
$args['post_type'] = 'correspondence';
$loop = new WP_Query( $args );
if ( $loop->have_posts() ) :
echo '';
echo '';
echo '';
while ( ( $loop->have_posts() ) ) :
$loop->the_post();
get_template_part( 'template-parts/content', get_post_format() );
endwhile;
echo '
';
echo '';
endif;
?>