Linux puskom-ProLiant-DL385-Gen10 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64
/
home
/
puskom
/
mastur
/
post-grid
/
includes
/
blocks
/
post-title
/
//home/puskom/mastur/post-grid/includes/blocks/post-title/patterns.php
<?php if (!defined('ABSPATH')) exit(); // register_block_pattern( // 'post-grid/my-awesome-pattern', // array( // 'title' => __('Two buttons xyz', 'my-plugin'), // 'description' => _x('Two horizontal buttons, the left button is filled in, and the right button is outlined.', 'Block pattern description', 'my-plugin'), // 'content' => "<!-- wp:buttons {\"align\":\"center\"} -->\n<div class=\"wp-block-buttons aligncenter\"><!-- wp:button {\"backgroundColor\":\"very-dark-gray\",\"borderRadius\":0} -->\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-background has-very-dark-gray-background-color no-border-radius\">" . esc_html__('Button One', 'my-plugin') . "</a></div>\n<!-- /wp:button -->\n\n<!-- wp:button {\"textColor\":\"very-dark-gray\",\"borderRadius\":0,\"className\":\"is-style-outline\"} -->\n<div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color has-very-dark-gray-color no-border-radius\">" . esc_html__('Button Two', 'my-plugin') . "</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons -->", // ) // ); // register_block_pattern( // 'post-grid/powered-by-wordpress', // array( // 'title' => __('Powered by WordPress', 'my-plugin'), // 'blockTypes' => array('core/paragraph'), // 'content' => '<!-- wp:paragraph {"backgroundColor":"black","textColor":"white"} --> // <p class="has-white-color has-black-background-color has-text-color has-background">Powered by WordPress</p> // <!-- /wp:paragraph -->', // ) // );