Skip to content

Commit

Permalink
Adjust 404 page pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
renintw committed Nov 17, 2022
1 parent 8f08d86 commit 972ecb7
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 9 deletions.
31 changes: 31 additions & 0 deletions source/wp-content/themes/wporg-showcase-2022/patterns/404-page.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php
/**
* Title: 404 Page
* Slug: wporg-parent-2021/404-page
* Inserter: no
*/

?>

<!-- wp:group {"className":"site-content-container"} -->
<div class="wp-block-group site-content-container">
<p class="error404__oops" aria-hidden="true">
<?php esc_html_e( 'Oops!', 'wporg' ); ?>
</p>

<!-- wp:heading {"level":1} -->
<h1><?php esc_html_e( 'This page doesn\'t exist.', 'wporg' ); ?></h1>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>
<?php esc_html_e( 'Go to', 'wporg' ); ?>
<a href="https://wordpress.org/showcase"><?php esc_html_e( 'the homepage', 'wporg' ); ?></a>,
<?php esc_html_e( 'or try searching Showcase sites using the field below.', 'wporg' ); ?>
</p>
<!-- /wp:paragraph -->

<!-- wp:search {"label":"","placeholder":"Search...","buttonText":"Search","buttonPosition":"button-inside","buttonUseIcon":true} /-->
</div>
<!-- /wp:group -->

This file was deleted.

0 comments on commit 972ecb7

Please sign in to comment.