[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
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' ), 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' ) . '</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' ) . '</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' ), 22 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Tue May 25 08:20:01 2021 | Cross-referenced by PHPXref |