PluginProbe
Gutenberg / 10.5.3
Gutenberg v10.5.3
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
gutenberg / lib / block-patterns / two-buttons.php

two-buttons.php in Gutenberg 10.5.3, at lib/block-patterns/two-buttons.php

23 lines 970 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Two Buttons block pattern.
4 *
5 * @package WordPress
6 */
7
8 return array(
9 'title' => _x( 'Two buttons', 'Block pattern title', 'default' ),
10 'content' => '<!-- wp:buttons {"contentJustification":"center"} -->
11 <div class="wp-block-buttons is-content-justification-center"><!-- wp:button {"borderRadius":0} -->
12 <div class="wp-block-button"><a class="wp-block-button__link no-border-radius">' . esc_html__( 'Our Work', 'default' ) . '</a></div>
13 <!-- /wp:button -->
14
15 <!-- wp:button {"borderRadius":1,"className":"is-style-outline"} -->
16 <div class="wp-block-button is-style-outline"><a class="wp-block-button__link" style="border-radius:1px">' . esc_html__( 'Where We Are', 'default' ) . '</a></div>
17 <!-- /wp:button --></div>
18 <!-- /wp:buttons -->',
19 'viewportWidth' => 500,
20 'categories' => array( 'buttons' ),
21 'description' => _x( 'Two buttons, one filled and one outlined, side by side.', 'Block pattern description', 'default' ),
22 );
23