2020-07-06 12:50:02 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Two Buttons block pattern.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
*/
|
|
|
|
|
|
|
|
return array(
|
2021-04-28 12:38:05 +02:00
|
|
|
'title' => _x( 'Two buttons', 'Block pattern title' ),
|
|
|
|
'content' => '<!-- wp:buttons {"contentJustification":"center"} -->
|
|
|
|
<div class="wp-block-buttons is-content-justification-center"><!-- wp:button {"borderRadius":0} -->
|
|
|
|
<div class="wp-block-button"><a class="wp-block-button__link no-border-radius">' . esc_html__( 'Our Work' ) . '</a></div>
|
|
|
|
<!-- /wp:button -->
|
|
|
|
|
|
|
|
<!-- wp:button {"borderRadius":1,"className":"is-style-outline"} -->
|
|
|
|
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link" style="border-radius:1px">' . esc_html__( 'Where We Are' ) . '</a></div>
|
|
|
|
<!-- /wp:button --></div>
|
|
|
|
<!-- /wp:buttons -->',
|
2020-07-06 12:50:02 +02:00
|
|
|
'viewportWidth' => 500,
|
|
|
|
'categories' => array( 'buttons' ),
|
2020-07-27 17:14:04 +02:00
|
|
|
'description' => _x( 'Two buttons, one filled and one outlined, side by side.', 'Block pattern description' ),
|
2020-07-06 12:50:02 +02:00
|
|
|
);
|