-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created 404 pattern in Purr Theme (#224)
* Created 404 pattern & Keep text Trasnaltable * Added space * Added space
- Loading branch information
1 parent
299bb8c
commit 674d6ad
Showing
2 changed files
with
19 additions
and
9 deletions.
There are no files selected for viewing
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,17 @@ | ||
<?php | ||
/** | ||
* Title: 404 | ||
* Slug: purr/hidden-404 | ||
* Inserter: no | ||
*/ | ||
?> | ||
|
||
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|30","left":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="padding-right:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)"><!-- wp:heading {"level":1} --> | ||
<h1 class="wp-block-heading"><?php esc_html_e( 'Nothing Here', 'purr' ); ?></h1> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph --> | ||
<p><?php echo esc_html_x( 'It looks like nothing was found at this location. Maybe try a search?', '404 page message', 'purr' ); ?></p> | ||
<!-- /wp:paragraph --></div> | ||
<!-- /wp:group --> |
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