Compare commits
4 Commits
4680f0ba83
...
main
Author | SHA1 | Date | |
---|---|---|---|
d9d8ee7d12 | |||
47d23c0be8 | |||
79a4c6c31f | |||
a4ae66abf5 |
@ -67,3 +67,16 @@ function lex_scotland_block_styles() {
|
||||
|
||||
// enable customizer
|
||||
add_action( 'customize_register', '__return_true' );
|
||||
|
||||
// add full page pattern category
|
||||
function lexscotland_pattern_categories() {
|
||||
register_block_pattern_category(
|
||||
'lexscotland_page',
|
||||
array(
|
||||
'label' => _x( 'Pages', 'Block pattern category', 'lexscotland' ),
|
||||
'description' => __( 'A collection of full page layouts.', 'lexscotland' ),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
add_action( 'init', 'lexscotland_pattern_categories' );
|
@ -1,4 +1,6 @@
|
||||
{
|
||||
"version": 3,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
||||
"customTemplates": [
|
||||
{
|
||||
"name": "page-brochure",
|
||||
@ -459,7 +461,5 @@
|
||||
"fontWeight": "400",
|
||||
"lineHeight": "1.6"
|
||||
}
|
||||
},
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/wp/6.5/theme.json"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user