[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Title: Hidden 404
   4   * Slug: twentytwentythree/hidden-404
   5   * Inserter: no
   6   *
   7   * @package WordPress
   8   * @subpackage Twenty_Twenty_Three
   9   * @since Twenty Twenty-Three 1.0
  10   */
  11  
  12  ?>
  13  
  14  <!-- wp:spacer {"height":"var(--wp--preset--spacing--30)"} -->
  15  <div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div>
  16  <!-- /wp:spacer -->
  17  
  18  <!-- wp:heading {"level":1,"align":"wide"} -->
  19  <h1 class="alignwide"><?php echo esc_html_x( '404', 'Error code for a webpage that is not found.', 'twentytwentythree' ); ?></h1>
  20  <!-- /wp:heading -->
  21  
  22  <!-- wp:group {"align":"wide","layout":{"type":"default"},"style":{"spacing":{"margin":{"top":"5px"}}}} -->
  23  <div class="wp-block-group alignwide" style="margin-top:5px">
  24      <!-- wp:paragraph -->
  25      <p><?php echo esc_html_x( 'This page could not be found.', 'Message to convey that a webpage could not be found', 'twentytwentythree' ); ?></p>
  26      <!-- /wp:paragraph -->
  27  
  28      <!-- wp:search {"label":"<?php echo esc_html_x( 'Search', 'label', 'twentytwentythree' ); ?>","placeholder":"<?php echo esc_attr_x( 'Search...', 'placeholder for search field', 'twentytwentythree' ); ?>","showLabel":false,"width":100,"widthUnit":"%","buttonText":"<?php esc_attr_e( 'Search', 'twentytwentythree' ); ?>","buttonUseIcon":true,"align":"center"} /-->
  29  </div>
  30  <!-- /wp:group -->
  31  
  32  <!-- wp:spacer {"height":"var(--wp--preset--spacing--70)"} -->
  33  <div style="height:var(--wp--preset--spacing--70)" aria-hidden="true" class="wp-block-spacer"></div>
  34  <!-- /wp:spacer -->


Generated : Sat Aug 15 08:20:25 2026 Cross-referenced by PHPXref