HEX
Server: Apache
System: Linux s325.xrea.com 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64
User: yunportfolio (12972)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /virtual/yunportfolio/public_html/yunportfolio.shop/wp-content/themes/cocoon-master/404.php
<?php
/**
 * Cocoon WordPress Theme
 * @author: yhira
 * @link: https://wp-cocoon.com/
 * @license: http://www.gnu.org/licenses/gpl-2.0.html GPL v2 or later
 */
if ( !defined( 'ABSPATH' ) ) exit; ?>
<?php get_header(); ?>

<article class="post article">
  <!--ループ開始-->
  <?php if (get_404_page_title()): ?>
    <h1 class="entry-title"><?php echo get_404_page_title(); ?></h1>
  <?php endif; ?>

  <img class="not-found" src="<?php echo get_404_image_url(); ?>" alt="404 Not Found" />

  <?php echo do_shortcode(wpautop(get_404_page_message())); ?>

  <?php //404ページウィジェット
  if ( is_active_sidebar( '404-page' ) ): ?>
    <?php dynamic_sidebar( '404-page' ); ?>
  <?php endif; ?>

</article>
<!-- END div.post -->
<?php get_footer(); ?>