diff --git a/less/main.less b/less/main.less index d0cd863..21359c1 100644 --- a/less/main.less +++ b/less/main.less @@ -112,6 +112,12 @@ a:hover { margin-bottom: 0; } +.list-card-date { + margin-top: 0; + margin-bottom: 0; + display: block; +} + .gmap { position: relative; padding-bottom: 75%; diff --git a/page-list-2016.php b/page-list-2016.php index 52c5e16..7d48cde 100644 --- a/page-list-2016.php +++ b/page-list-2016.php @@ -4,6 +4,7 @@
+ 開催期間 + + ~ + + + + 不明 + +
++ 一般公開 + + 不明 + '; + echo get_sub_field( 'public_open_day' ) . ' ' . get_sub_field( 'public_open_start_time' ) . ' ~ ' . get_sub_field( 'public_open_end_time' ); + echo ''; + elseif ( get_sub_field( 'public_open_day' ) ): ?> + + '; + echo get_field( 'publicStartDate' ) . ' ~ ' . get_field( 'publicEndDate' ); + echo ''; + elseif ( get_field( 'publicStartDate' ) and !get_field( 'publicEndDate' ) ): + echo ''; + echo get_field( 'publicStartDate' ); + echo ''; + elseif ( !have_rows( 'public_open' ) and !get_field( 'publicStartDate' ) and !get_field( 'publicEndDate' ) ): ?> + なし + '; + endif; + $tmp[] = get_field( 'schoolName' ); + ?> +