18
|
1 |
<?php |
|
2 |
/** |
|
3 |
* Social links with a shared background color. |
|
4 |
* |
|
5 |
* @package WordPress |
|
6 |
*/ |
|
7 |
|
|
8 |
return array( |
|
9 |
'title' => _x( 'Social links with a shared background color', 'Block pattern title' ), |
|
10 |
'categories' => array( 'buttons' ), |
|
11 |
'blockTypes' => array( 'core/social-links' ), |
|
12 |
'viewportWidth' => 500, |
|
13 |
'content' => '<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} --> |
|
14 |
<ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /--> |
|
15 |
<!-- wp:social-link {"url":"#","service":"chain"} /--> |
|
16 |
<!-- wp:social-link {"url":"#","service":"mail"} /--></ul> |
|
17 |
<!-- /wp:social-links -->', |
|
18 |
); |