the_permalink(); ?> " class="entry-title entry-title-link" title="<?php the_title(); ?> "><?php the_title(); ?> </a></h2> <p class="post-meta"> <?php if (is_create_date_visible()) { //投稿日を表示する場合 ?> <span class="post-date"><span class="fa fa-clock-o fa-fw"></span><span class="published"><?php the_time(get_theme_text_date_format()); ?> </span></span> <?php } //is_create_date_visible ?> <?php if (is_category_visible() && get_the_category()) { //投稿ページの場合 ?> <span class="category"><span class="fa fa-folder fa-fw"></span><?php the_category(', '); ?> </span>
<span class="post-date"><span class="fa fa-clock-o fa-fw"></span><time class="entry-date date published<?php echo get_mtime('c') && is_update_date_visible() ? '' : ' updated'; ?> " datetime="<?php echo get_the_time('c'); ?> "><?php the_time(get_theme_text_date_format()); ?> </time><?php echo $human_time_diff; ?> </span> <?php } //is_create_date_visible ?> <?php if (is_update_date_visible() && get_mtime('c')) { //更新日があるどき ?> <span class="post-update"><span class="fa fa-history fa-fw"></span><span class="entry-date date updated"><?php if ($mtime = get_mtime(get_theme_text_date_format())) { echo $mtime; } ?> </span></span> <?php } //is_update_date_visible }