Skip to content

Commit

Permalink
rename the prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Nov 19, 2021
1 parent b621420 commit ce2287c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion blockbase/block-templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- wp:group {"tagName":"main","layout":{"inherit":true}} -->
<main class="wp-block-group">
<!-- wp:pattern {"slug":"blockbase/404-prompt"} /-->
<!-- wp:pattern {"slug":"blockbase/404"} /-->
<!-- wp:search {"label":""} /-->
</main>
<!-- /wp:group -->
Expand Down
4 changes: 2 additions & 2 deletions blockbase/inc/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Blockbase Theme: Block Patterns
*
* @package Blockbase
* @package Blockbase
*/
if ( ! function_exists( 'blockbase_register_block_patterns' ) ) :

Expand All @@ -17,7 +17,7 @@ function blockbase_register_block_patterns() {

if ( function_exists( 'register_block_pattern' ) ) {
$block_patterns = array(
'404-prompt'
'404'
);

foreach ( $block_patterns as $block_pattern ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

return array(
'title' => __( '404-prompt', 'blockbase' ),
'title' => __( '404', 'blockbase' ),
'categories' => array( 'blockbase' ),
'inserter' => false,
'content' => '<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"medium"} -->
Expand Down
2 changes: 1 addition & 1 deletion skatepark/block-templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- wp:group {"tagName":"main","layout":{"inherit":true},"style":{"spacing":{"padding":{"top":"4em"}}}} -->
<main class="wp-block-group" style="padding-top:4em">
<!-- wp:pattern {"slug":"blockbase/404-prompt"} /-->
<!-- wp:pattern {"slug":"blockbase/404"} /-->
<!-- wp:search {"label":""} /-->
</main>
<!-- /wp:group -->
Expand Down
2 changes: 1 addition & 1 deletion videomaker/block-templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<!-- wp:group {"layout":{"inherit":true},"tagName":"main"} -->
<main class="wp-block-group">
<!-- wp:pattern {"slug":"blockbase/404-prompt"} /-->
<!-- wp:pattern {"slug":"blockbase/404"} /-->
<!-- wp:search {"label":""} /-->
</main>
<!-- /wp:group -->
Expand Down

0 comments on commit ce2287c

Please sign in to comment.