wp/wp-includes/block-patterns/social-links-shared-background-color.php
changeset 18 be944660c56a
child 22 8c2e4d02f4ef
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
       
     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 );