-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
9 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
source/wp-content/themes/wporg-showcase-2022/patterns/404-page.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 --> | ||
|
9 changes: 0 additions & 9 deletions
9
source/wp-content/themes/wporg-showcase-2022/templates/404.html
This file was deleted.
Oops, something went wrong.