get_the_time(‘Ymd’)で数字を取得
if ($day <= 20150611):で その日付を含む古い記事は〜の分岐 [php] <?php $day = get_the_time('Ymd'); if ($day <= 20150611): ?> <div class="blog_deta"><ul><li class="blogcate_icon"><?php echo get_the_term_list( $post->ID, 'jirei_cat','','','' ); ?> </li></ul> <?php edit_post_link('この記事を編集', '', ''); ?> </div> <?php else:?> <div class="blog_deta"><ul><li><?php the_time('Y.m.d'); ?></li><li class="blogcate_icon"><?php echo get_the_term_list( $post->ID, 'jirei_cat','','','' ); ?> </li></ul> <?php edit_post_link('この記事を編集', '', ''); ?> </div> <?php endif; ?> [/php]