404 Template (404.php)

英語サイト用 404 Template (404.php)

  1. <?php get_header(); ?>
  2. <div id="content" class="clearfix">
  3.     <div id="contentInner">
  4.         <main <?php st_text_copyck(); ?>>
  5.             <article>
  6.                 <div class="post">
  7.                     <h1 class="entry-title"> Not Found </h1>
  8.                     <?php if ( is_active_sidebar( 24 ) ) : ?>
  9.                         <?php if ( function_exists( 'dynamic_sidebar' ) && dynamic_sidebar( 24 ) ) : else : //404ウィジェット ?>
  10.                         <?php endif; ?>
  11.                     <?php else: ?>
  12.                         <p class="center">The page you were looking for was not found.</p>
  13.                     <?php endif; ?>
  14.                 </div>
  15.                 <!--/post-->
  16.             </article>
  17.         </main>
  18.     </div>
  19.     <!-- /#contentInner -->
  20.     <?php get_sidebar(); ?>
  21. </div>
  22. <!-- /#content -->
  23. <?php get_footer(); ?>

目次