global $wp_query;
$term = false;
$description = '';
if( array_key_exists('topic', $wp_query->query_vars) ){
$term = get_term_by( 'slug', get_query_var( 'topic' ), 'topic' );
$description .= term_description();
}
if( array_key_exists('people', $wp_query->query_vars) ) {
$term = get_term_by( 'slug', get_query_var( 'people' ), 'people' );
$description .= term_description();
}
if( array_key_exists('camera-author', $wp_query->query_vars) ) {
$term = get_term_by( 'slug', get_query_var( 'camera-author' ), 'camera-author' );
$description .= term_description();
}
if( array_key_exists('outlet', $wp_query->query_vars) ) {
$term = get_term_by( 'slug', get_query_var( 'outlet' ), 'outlet' );
$description .= term_description();
}
if( array_key_exists('journalist', $wp_query->query_vars) ) {
$term = get_term_by( 'slug', get_query_var( 'journalist' ), 'journalist' );
$description .= term_description();
}
if( strlen(trim($description)) > 0 ): ?>
endif;
?>