[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * 404 content.
   4   */
   5  return array(
   6      'title'    => __( '404 content', 'twentytwentytwo' ),
   7      'inserter' => false,
   8      'content'  => '<!-- wp:heading {"style":{"typography":{"fontSize":"clamp(4rem, 40vw, 20rem)","fontWeight":"200","lineHeight":"1"}},"className":"has-text-align-center"} -->
   9                      <h2 class="has-text-align-center" style="font-size:clamp(4rem, 40vw, 20rem);font-weight:200;line-height:1">' . esc_html( _x( '404', 'Error code for a webpage that is not found.', 'twentytwentytwo' ) ) . '</h2>
  10                      <!-- /wp:heading -->
  11                      <!-- wp:paragraph {"align":"center"} -->
  12                      <p class="has-text-align-center">' . esc_html__( 'This page could not be found. Maybe try a search?', 'twentytwentytwo' ) . '</p>
  13                      <!-- /wp:paragraph -->
  14                      <!-- wp:search {"label":"' . esc_html_x( 'Search', 'label', 'twentytwentytwo' ) . '","showLabel":false,"width":50,"widthUnit":"%","buttonText":"' . esc_html__( 'Search', 'twentytwentytwo' ) . '","buttonUseIcon":true,"align":"center"} /-->',
  15  );


Generated : Thu Dec 26 08:20:01 2024 Cross-referenced by PHPXref