<?php /* Template Name: About me */ ?> <?php get_header(); ?> <div id="root-container"> <div id="container2"> <?php if(have_posts()): while(have_posts()): the_post(); ?> <?php breadcrumb(); ?> <div class="single-container"> <article> <section> <header> <h1 class="entry-title"><?php the_title(); ?></h1> <ul class="entry-date"> <li class="category"><?php the_tags('', ', '); ?></li> <?php if (get_mtime('c') == null) : ?> <li class="entry-update"><time class="entry-date date published" datetime="<?php the_time('c') ;?>"><?php the_time('Y/n/j') ;?></time></li> <?php endif; ?> <?php if (get_mtime('c') != null) : ?> <li class="entry-update"><?php the_time('Y/n/j') ;?><time class="entry-date date updated" datetime="<?php if ($mtime = get_mtime('c')) echo $mtime; ?>"></time></li> <li class="entry-day"><?php if ($mtime = get_mtime('Y/n/j')) echo '' , $mtime; ?></time></li> <?php endif; ?> </ul> </header> <div class="copy-area"> <?php if(has_post_thumbnail()): ?> <figure class="post-img"><a href="<?php the_permalink() ?>" border="0"><?php the_post_thumbnail('full'); ?></a></figure> <?php else: ?> <figure class="post-img"><a href="<?php the_permalink() ?>"><img src="<?php bloginfo('template_url'); ?>/images/no_image.jpg" alt="No Image" width="656" height="185" class="thumbnail" /></a></figure> <?php endif; ?> <div class="profile-sns"> <ul> <li class="twitter_icon"><a href="https://twitter.com/nishizm" target="_blank" rel="noopener"><i class="fa fa-twitter" aria-hidden="true"></i></a></li> <li class="facebook_icon"><a href="https://www.facebook.com/yoshitaka.nishizawa.1" target="_blank" rel="noopener"><i class="fa fa-facebook" aria-hidden="true"></i></a></li> <li class="pinterest_icon"><a target="_blank" href="https://www.pinterest.jp/nishizm/" rel="noopener"><i class="fa fa-pinterest-p" aria-hidden="true"></i></a></li> <li class="feedly_icon"><a href="http://cloud.feedly.com/#subscription%2Ffeed%2Fhttp%3A%2F%2Fnishizm.com%2Findex.php%2Ffeed%2F" target="_blank" rel="noopener"><i class="fa fa-rss" aria-hidden="true"></i></a></li> <li class="contact_icon"><a href="https://nishizm.com/index.php/contact/"><i class="fa fa-envelope-o" aria-hidden="true"></i></a></li> </ul> </div> <div class="main-area"> <?php the_content(); ?> <div class="con-ad"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- 【ニシザワのブログ2】mainArea-under --> <ins class="adsbygoogle" style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-1064524773337037" data-ad-slot="8596370515"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <?php get_template_part( 'sns' );?> </div> </section> </article> </div> <?php endwhile; endif; ?> <?php get_sidebar(); ?> </div> </div> <?php get_footer(); ?>