Skip to content

Commit

Permalink
Hide the pattern in the inserter
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Nov 18, 2021
1 parent 7bfeb90 commit f0d94e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions blockbase/inc/patterns/404-prompt.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
/**
* A 404 page
*
* @package Blockbase
* @package Blockbase
*/

return array(
'title' => __( '404-prompt', 'blockbase' ),
'categories' => array( 'blockbase' ),
'inserter' => false,
'content' => '<!-- wp:group {"tagName":"main","className":"container-404","layout":{"inherit":true}} -->
<main class="wp-block-group container-404"><!-- wp:heading {"textAlign":"center","level":1,"fontSize":"medium"} -->
<h1 class="has-text-align-center has-medium-font-size" id="oops-that-page-can-t-be-found">' . esc_html__( "Oops! That page can&rsquo;t be found.", "blockbase" ) . '</h1>
Expand All @@ -19,4 +20,4 @@
<!-- wp:search {"label":""} /--></main>
<!-- /wp:group -->',
);
);

0 comments on commit f0d94e6

Please sign in to comment.