';
} elseif ( $ttlbg_id ) {
SWELL_Theme::get_image( $ttlbg_id, [
'class' => 'l-topTitleArea__img c-filterLayer__img u-obf-cover',
'alt' => '',
'loading' => apply_filters( 'swell_top_area_lazy_off', true ) ? 'none' : SWELL_Theme::$lazy_type,
'aria-hidden' => 'true',
'decoding' => 'async',
'echo' => true,
]);
}
?>
$term_id,
'has_inner' => false,
] );
SWELL_PARTS::the_term_navigation( $term_id );
} elseif ( is_single() ) {
SWELL_Theme::get_parts( 'parts/single/post_head' );
} elseif ( is_page() || is_home() ) {
// タイトル
SWELL_Theme::pluggable_parts( 'page_title', [
'title' => get_the_title( $the_id ),
'subtitle' => get_post_meta( $the_id, 'swell_meta_subttl', true ),
'has_inner' => false,
] );
// 抜粋文
$post_data = get_post( $the_id );
$excerpt = $post_data->post_excerpt;
if ( $excerpt ) {
echo '
' . wp_kses( $excerpt, SWELL_Theme::$allowed_text_html ) . '
';
}
}
?>