[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/block-patterns/ -> heading-paragraph.php (source)

   1  <?php
   2  /**
   3   * Heading and paragraph block pattern.
   4   *
   5   * @package WordPress
   6   */
   7  
   8  return array(
   9      'title'         => __( 'Heading and paragraph' ),
  10      'content'       => "<!-- wp:group -->\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\"><!-- wp:heading {\"fontSize\":\"large\"} -->\n<h2 class=\"has-large-font-size\"><span style=\"color:#ba0c49\" class=\"has-inline-color\"><strong>2</strong>.</span><br>" . __( 'Which treats of the first sally the ingenious Don Quixote made from home' ) . "</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>" . __( 'These preliminaries settled, he did not care to put off any longer the execution of his design, urged on to it by the thought of all the world was losing by his delay, seeing what wrongs he intended to right, grievances to redress, injustices to repair, abuses to remove, and duties to discharge.' ) . "</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:group -->",
  11      'viewportWidth' => 1000,
  12      'categories'    => array( 'text' ),
  13      'description'   => _x( 'A heading preceded by a chapter number, and followed by a paragraph.', 'Block pattern description' ),
  14  );


Generated: Wed Apr 28 01:00:05 2021 Cross-referenced by PHPXref 0.7.1