author | ymh <ymh.work@gmail.com> |
Mon, 08 Sep 2025 19:44:41 +0200 | |
changeset 23 | 417f20492bf7 |
parent 22 | 8c2e4d02f4ef |
permissions | -rw-r--r-- |
18 | 1 |
<?php |
2 |
/** |
|
3 |
* Social links with a shared background color. |
|
4 |
* |
|
5 |
* @package WordPress |
|
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
6 |
* @since 5.8.0 |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
7 |
* @deprecated 6.7.0 This pattern is deprecated. Please use the Social Links block instead. |
18 | 8 |
*/ |
9 |
||
10 |
return array( |
|
11 |
'title' => _x( 'Social links with a shared background color', 'Block pattern title' ), |
|
12 |
'categories' => array( 'buttons' ), |
|
13 |
'blockTypes' => array( 'core/social-links' ), |
|
14 |
'viewportWidth' => 500, |
|
15 |
'content' => '<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} --> |
|
16 |
<ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /--> |
|
17 |
<!-- wp:social-link {"url":"#","service":"chain"} /--> |
|
18 |
<!-- wp:social-link {"url":"#","service":"mail"} /--></ul> |
|
19 |
<!-- /wp:social-links -->', |
|
20 |
); |