'full')); $companyName = get_queried_object()->name; ?>
70) $small= "2em"; elseif (strlen($companyName) > 35) $small = "3em"; elseif (strlen($companyName) > 12) $small = "4em"; else $small = "5em" ?>

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

'.ucwords($currSec).'s View all '.$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 '
    '; 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 '

Appearances View all '.$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 '.$loop->post_count.'

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