if ( 0 ===
strncmp( $slug_remaining,
$post_type . '-',
$post_type_length ) ) { $slug =
substr( $slug_remaining,
$post_type_length,
strlen( $slug_remaining ) );
$found =
_wp_build_title_and_description_for_single_post_type_block_template( $post_type,
$slug,
$template );
if ( $found ) { break;
} } } break;
case 'tag':
_wp_build_title_and_description_for_taxonomy_block_template( 'post_tag',
$slug_remaining,
$template );
break;
case 'category':
_wp_build_title_and_description_for_taxonomy_block_template( 'category',
$slug_remaining,
$template );
break;
case 'taxonomy':
$taxonomies =
get_taxonomies();
foreach ( $taxonomies as $taxonomy ) { $taxonomy_length =
strlen( $taxonomy ) + 1;
// If $slug_remaining starts with $taxonomy followed by a hyphen.