Compare commits
6 Commits
15d49c575c
...
main
Author | SHA1 | Date | |
---|---|---|---|
d9d8ee7d12 | |||
47d23c0be8 | |||
79a4c6c31f | |||
a4ae66abf5 | |||
4680f0ba83 | |||
c7e5ca8fd8 |
@ -66,4 +66,17 @@ function lex_scotland_block_styles() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// enable customizer
|
// enable customizer
|
||||||
add_action( 'customize_register', '__return_true' );
|
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' );
|
@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
<!-- wp:buttons -->
|
<!-- wp:buttons -->
|
||||||
<div class="wp-block-buttons"><!-- wp:button {"className":"is-style-fill"} -->
|
<div class="wp-block-buttons"><!-- wp:button {"className":"is-style-fill"} -->
|
||||||
<div class="wp-block-button is-style-fill"><a class="wp-block-button__link wp-element-button">🖂 Click here to get in touch at info@lexscotland.org</a></div>
|
<div class="wp-block-button is-style-fill"><a class="wp-block-button__link wp-element-button" href="mailto:info@lexscotland.org">🖂 Click here to get in touch at info@lexscotland.org</a></div>
|
||||||
<!-- /wp:button -->
|
<!-- /wp:button -->
|
||||||
|
|
||||||
<!-- wp:button {"className":"is-style-fill"} -->
|
<!-- wp:button {"className":"is-style-fill"} -->
|
||||||
<div class="wp-block-button is-style-fill"><a class="wp-block-button__link wp-element-button">Click here for our LinkedIn 🡭</a></div>
|
<div class="wp-block-button is-style-fill"><a class="wp-block-button__link wp-element-button" href="https://www.linkedin.com/company/lex-scotland/">Click here for our LinkedIn 🡭</a></div>
|
||||||
<!-- /wp:button --></div>
|
<!-- /wp:button --></div>
|
||||||
<!-- /wp:buttons --></div>
|
<!-- /wp:buttons --></div>
|
||||||
<!-- /wp:group -->
|
<!-- /wp:group -->
|
||||||
|
Reference in New Issue
Block a user