term_id; $term_description = apply_filters( 'arkhe_term_description', $term_obj->description, $term_id ); $show_description = apply_filters( 'arkhe_show_term_description', ! empty( $term_description ), $term_id ); // 背景の画像 $bgimg_id = apply_filters( 'arkhe_ttlbg_img_id', 0, $term_id ); $bgimg_full = ''; $bgimg_medium = ''; if ( $bgimg_id ) { $bgimg_full = wp_get_attachment_image_url( $bgimg_id, 'full' ) ?: ''; $bgimg_medium = wp_get_attachment_image_url( $bgimg_id, 'medium' ) ?: ''; } // 追加クラス(画像がなければフィルターもなし) $add_area_class = $bgimg_full ? '-filter-' . Arkhe::get_setting( 'title_bg_filter' ) : '-filter-none -noimg'; ?>