$term_id,
'has_inner' => true,
] );
SWELL_PARTS::the_term_navigation( $term_id );
endif;
// PR表記
if ( get_term_meta( $term_id, 'swell_term_meta_show_pr_notation', 1 ) ) {
SWELL_Theme::pluggable_parts( 'pr_notation' );
}
// 説明文・アイキャッチ
SWELL_Theme::get_parts( 'parts/archive/term_head', [
'term_id' => $term_id,
'description' => $wp_obj->description,
] );
?>
$list_type ] );
SWELL_Theme::get_parts( 'parts/post_list/item/pagination' );
?>
'post',
'no_found_rows' => true,
'ignore_sticky_posts' => 1,
'meta_key' => SWELL_CT_KEY,
'orderby' => 'meta_value_num',
'order' => 'DESC',
];
if ( isset( $wp_obj->cat_ID ) ) {
$q_args['cat'] = $term_id;
} else {
$tax_query = [
'relation' => 'AND',
[
'taxonomy' => $wp_obj->taxonomy,
'field' => 'id',
'terms' => $term_id,
'operator' => 'IN',
],
];
$q_args['tax_query'] = $tax_query;
}
// 新着投稿一覧 ( Sub loop )
$parts_args = [
'query_args' => $q_args,
'list_args' => ['type' => $list_type ],
];
SWELL_Theme::get_parts( 'parts/post_list/loop_sub', $parts_args );
?>