diff --git a/functions.php b/functions.php index 6f50e7f..689b16f 100644 --- a/functions.php +++ b/functions.php @@ -66,4 +66,17 @@ function lex_scotland_block_styles() { } // enable customizer -add_action( 'customize_register', '__return_true' ); \ No newline at end of file +add_action( 'customize_register', '__return_true' ); + +// add full page pattern category +function lex_scotland_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', 'twentytwentyfour_pattern_categories' ); \ No newline at end of file