'full' ) ); // phpcs:enable $company_name = get_queried_object()->name; ?>
70 ) { $small = '2em'; } elseif ( strlen( $company_name ) > 35 ) { $small = '3em'; } elseif ( strlen( $company_name ) > 12 ) { $small = '4em'; } else { $small = '5em'; } ?>

have_posts() ) : ?>
have_posts() ) : echo '
'; echo '

' . wp_kses_post( ucwords( $current_section ) ) . 's View all ' . esc_html( $loop->post_count ) . '

'; 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 ''; else : echo '

No qualifications.

'; endif; echo '
'; echo '
'; $args['post_type'] = 'award'; $loop = new WP_Query( $args ); echo '

Awards

'; if ( $loop->have_posts() ) : echo ''; else : echo '

No awards.

'; endif; echo '
'; echo '
'; $args['post_type'] = 'appearance'; $loop = new WP_Query( $args ); if ( $loop->have_posts() ) : echo '
'; echo '

Appearances View all ' . esc_html( $loop->post_count ) . '

'; 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 '

Correspondence View all ' . esc_html( $loop->post_count ) . '

'; echo '
'; while ( ( $loop->have_posts() ) ) : $loop->the_post(); get_template_part( 'template-parts/content', get_post_format() ); endwhile; echo '
'; echo '
'; endif; ?>