"; //var_dump($typenames); //print "
"; /// デバッグ用 //print "
category: ".$posttype; //print "
taxonomy: ".$taxonomy; $args = array( 'post_type' => $posttype, 'numberposts' => -1, 'tax_query' => array( array( 'taxonomy' => $taxonomy, 'terms' => $typenames, 'field' => 'slug', 'operator' => 'IN' ), 'relation' => 'AND' ), ); // 上記の条件を元に現在のtaxonomy、term値を取得する // 1.現在のページタイプ 2. taxonomyに所属する全てのスラッグからのterm $tterms = get_posts( $args ); //print "件数: ".count($tterms); //print "
"; //var_dump($tterms); //print "
"; // 日付比較用 $last_modified = 0; $tmp = array(); foreach ($tterms as $key1 => $term) { foreach ($term as $key2 => $t) { if ($key2=='post_modified') { array_push($tmp, (int) strtotime($t)); } } } // 日付けの比較 foreach($tmp as $t) { if ($last_modified < $t) { $last_modified = $t; } //print "
".date("Y-m-d", $t)."
"; } ?>
(2021年07月31日 更新)
タイプ名 |
部屋 |
賃室面積 |
賃料 |
共益費 |
間取り図 |
---|---|---|---|---|---|
C・C’ type |
1203号室 |
20.97㎡ |
68,000円 |
10,000円 |
|
B・B’ type |
702号室 |
20.43㎡ |
59,000円 |
10,000円 |
|
A・A’ type |
801号室 |
28.44㎡ |
90,000円 |
10,000円 |


