[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/ipsum/patterns/ -> hidden-404.php (source)

   1  <?php
   2  /**
   3   * Title: 404
   4   * Slug: ipsum/hidden-404
   5   * Template Types: 404
   6   * Inserter: no
   7   * Description: The 404 template. It has the header, a “Page not found.” heading and a short note over the search field, and the footer.
   8   *
   9   * @package Ipsum
  10   * @since Ipsum 1.0
  11   */
  12  
  13  ?>
  14  <!-- wp:template-part {"slug":"header"} /-->
  15  
  16  <!-- wp:group {"tagName":"main","metadata":{"name":"<?php echo esc_html_x( 'Body', 'Name of the main content area group', 'ipsum' ); ?>"},"style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
  17  <main class="wp-block-group" style="margin-top:0;margin-bottom:0"><!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Post Title', 'Name of the group holding the post title', 'ipsum' ); ?>"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
  18  <div class="wp-block-group"><!-- wp:heading {"level":1,"fitText":true} -->
  19  <h1 class="wp-block-heading has-fit-text"><?php esc_html_e( 'Page not found.', 'ipsum' ); ?></h1>
  20  <!-- /wp:heading -->
  21  
  22  <!-- wp:paragraph -->
  23  <p><?php esc_html_e( 'The page you are looking for doesn\'t exist, or it has been moved. Please try searching using the form below.', 'ipsum' ); ?></p>
  24  <!-- /wp:paragraph --></div>
  25  <!-- /wp:group -->
  26  
  27  <!-- wp:search {"label":"<?php esc_attr_e( 'Search', 'ipsum' ); ?>","showLabel":false,"placeholder":"<?php esc_attr_e( 'Type here...', 'ipsum' ); ?>","buttonText":"<?php esc_attr_e( 'Search', 'ipsum' ); ?>","buttonPosition":"button-inside","buttonUseIcon":true,"ariaLabel":"<?php echo esc_attr_x( 'Site', 'Accessible name of the search form', 'ipsum' ); ?>"} /--></main>
  28  <!-- /wp:group -->
  29  
  30  <!-- wp:template-part {"slug":"footer"} /-->


Generated : Wed Nov 11 08:20:02 2026 Cross-referenced by PHPXref