Skip to content

Commit b7ef923

Browse files
committed
Add specificity to pattern category names (#162)
1 parent 53843af commit b7ef923

11 files changed

+12
-12
lines changed

functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ function frost_register_block_styles() {
101101
function frost_register_block_pattern_categories() {
102102

103103
register_block_pattern_category(
104-
'page',
104+
'frost-page',
105105
array(
106106
'label' => __( 'Page', 'frost' ),
107107
'description' => __( 'Create a full page with multiple patterns that are grouped together.', 'frost' ),
108108
)
109109
);
110110
register_block_pattern_category(
111-
'pricing',
111+
'frost-pricing',
112112
array(
113113
'label' => __( 'Pricing', 'frost' ),
114114
'description' => __( 'Compare features for your digital products or service plans.', 'frost' ),

patterns/page-about.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Title: Sample about page.
44
* Slug: frost/page-about
5-
* Categories: page
5+
* Categories: frost-page
66
*/
77
?>
88
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"70px","bottom":"var:preset|spacing|x-large","right":"30px","left":"30px"}}},"layout":{"type":"constrained"}} -->

patterns/page-home.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Title: Sample home page.
44
* Slug: frost/page-home
5-
* Categories: page
5+
* Categories: frost-page
66
*/
77
?>
88
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"30px","bottom":"var:preset|spacing|x-large","left":"30px","top":"70px"},"margin":{"top":"0px"},"blockGap":"10px"}},"className":"welcome","layout":{"type":"constrained","wideSize":"800px"}} -->

patterns/page-link.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Title: Sample link page.
44
* Slug: frost/page-link
5-
* Categories: page
5+
* Categories: frost-page
66
*/
77
?>
88
<!-- wp:group {"align":"full","style":{"spacing":{"margin":{"top":"0px"},"padding":{"left":"0px","top":"var:preset|spacing|large","right":"0px","bottom":"var:preset|spacing|large"}},"dimensions":{"minHeight":"100vh"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->

patterns/page-pricing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Title: Sample pricing page.
44
* Slug: frost/page-pricing
5-
* Categories: page
5+
* Categories: frost-page
66
*/
77
?>
88
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|small","bottom":"var:preset|spacing|large"}}},"layout":{"type":"constrained"}} -->

patterns/pricing-four-columns-dark.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Title: Pricing table with heading, list, buttons.
44
* Slug: frost/pricing-four-columns-dark
5-
* Categories: pricing
5+
* Categories: frost-pricing
66
*/
77
?>
88
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->

patterns/pricing-four-columns.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Title: Pricing table with heading, list, buttons.
44
* Slug: frost/pricing-four-columns
5-
* Categories: pricing
5+
* Categories: frost-pricing
66
*/
77
?>
88
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->

patterns/pricing-three-columns-dark.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Title: Pricing table with heading, list, buttons.
44
* Slug: frost/pricing-three-columns-dark
5-
* Categories: pricing
5+
* Categories: frost-pricing
66
*/
77
?>
88
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->

patterns/pricing-three-columns.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Title: Pricing table with heading, list, buttons.
44
* Slug: frost/pricing-three-columns
5-
* Categories: pricing
5+
* Categories: frost-pricing
66
*/
77
?>
88
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->

patterns/pricing-two-columns-dark.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Title: Pricing table with heading, list, buttons.
44
* Slug: frost/pricing-two-columns-dark
5-
* Categories: pricing
5+
* Categories: frost-pricing
66
*/
77
?>
88
<!-- wp:group {"align":"wide","layout":{"type":"constrained","wideSize":"800px"}} -->

0 commit comments

Comments
 (0)