themes-wordpress/geologist/inc/patterns/quote.php
Ben Dwyer e5ec33076b
Geologist: Add block patterns (#4623)
* Geologist: Add block patterns

* Add pattern files

* Update styles for block patterns

* Update content for block patterns

* fix quote markup

* adding textdomain

* add paragraph block comments

* add image to repo
2021-09-22 11:20:13 +01:00

15 lines
793 B
PHP

<?php
/**
* Two posts with features images in a query block.
*
* @package Geologist
*/
return array(
'title' => __( 'Quote', 'geologist' ),
'categories' => array( 'geologist' ),
'blockTypes' => array( 'core/pullquote' ),
'content' => '<!-- wp:pullquote {"textColor":"background","className":"has-background-color has-primary-background-color has-text-color has-background"} -->
<figure class="wp-block-pullquote has-background-color has-primary-background-color has-text-color has-background"><blockquote class="has-text-color has-background-color"><p>“' . esc_html__( 'Amazonite, Ametrine, Beryl, Dioptase, Howlite, Jade, and Ruby.', 'geologist' ) . '”</p><cite>' . esc_html__( 'Sarah Edwards', 'geologist' ) . '</cite></blockquote></figure>
<!-- /wp:pullquote -->'
);