[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/block-patterns/ -> three-columns-media-text.php (source)

   1  <?php
   2  /**
   3   * Three columns with images and text.
   4   *
   5   * @package WordPress
   6   */
   7  
   8  return array(
   9      'title'       => _x( 'Three columns with images and text', 'Block pattern title' ),
  10      'categories'  => array( 'columns' ),
  11      'content'     => '<!-- wp:group {"align":"full","style":{"color":{"background":"#f8f4e4"}}} -->
  12      <div class="wp-block-group alignfull has-background" style="background-color:#f8f4e4"><div class="wp-block-group__inner-container"><!-- wp:columns {"align":"wide"} -->
  13      <div class="wp-block-columns alignwide"><!-- wp:column -->
  14      <div class="wp-block-column"><!-- wp:spacer -->
  15      <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
  16      <!-- /wp:spacer -->
  17  
  18      <!-- wp:heading {"level":6,"style":{"color":{"text":"#000000"}}} -->
  19      <h6 class="has-text-color" style="color:#000000">' . esc_html__( 'ECOLOGY' ) . '</h6>
  20      <!-- /wp:heading -->
  21  
  22      <!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.1","fontSize":"5vw"},"color":{"text":"#000000"}}} -->
  23      <p class="has-text-color" style="color:#000000;font-size:5vw;line-height:1.1"><strong>' . esc_html__( 'Natural resources.' ) . '</strong></p>
  24      <!-- /wp:paragraph --><!-- wp:spacer {"height":5} -->
  25      <div style="height:5px" aria-hidden="true" class="wp-block-spacer"></div>
  26      <!-- /wp:spacer --></div>
  27      <!-- /wp:column --></div>
  28      <!-- /wp:columns -->
  29      
  30      <!-- wp:columns {"align":"wide"} -->
  31      <div class="wp-block-columns alignwide"><!-- wp:column {"width":"33.38%"} -->
  32      <div class="wp-block-column" style="flex-basis:33.38%"><!-- wp:paragraph {"style":{"color":{"text":"#000000"}},"fontSize":"extra-small"} -->
  33      <p class="has-text-color has-extra-small-font-size" style="color:#000000">' . wp_kses_post( __( '<em>Nature</em>, in the common sense, refers to essences unchanged by man; space, the air, the river, the leaf.&nbsp;<em>Art</em>&nbsp;is applied to the mixture of his will with the same things, as in a house, a canal, a statue, a picture. But his operations taken together are so insignificant, a little chipping, baking, patching, and washing, that in an impression so grand as that of the world on the human mind, they do not vary the result.' ) ) . '</p>
  34      <!-- /wp:paragraph --></div>
  35      <!-- /wp:column -->
  36      
  37      <!-- wp:column {"width":"33%"} -->
  38      <div class="wp-block-column" style="flex-basis:33%"><!-- wp:spacer -->
  39      <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
  40      <!-- /wp:spacer -->
  41      
  42      <!-- wp:image {"id":null,"sizeSlug":"large","linkDestination":"none"} -->
  43      <figure class="wp-block-image size-large"><img src="https://s.w.org/images/core/5.8/outside-01.jpg" alt="' . esc_attr__( 'The sun setting through a dense forest of trees.' ) . '" /></figure>
  44      <!-- /wp:image --></div>
  45      <!-- /wp:column -->
  46      
  47      <!-- wp:column {"width":"33.62%"} -->
  48      <div class="wp-block-column" style="flex-basis:33.62%"><!-- wp:image {"id":null,"sizeSlug":"large","linkDestination":"none"} -->
  49      <figure class="wp-block-image size-large"><img src="https://s.w.org/images/core/5.8/outside-02.jpg" alt="' . esc_attr__( 'Wind turbines standing on a grassy plain, against a blue sky.' ) . '" /></figure>
  50      <!-- /wp:image --></div>
  51      <!-- /wp:column --></div>
  52      <!-- /wp:columns -->
  53      
  54      <!-- wp:columns {"align":"wide"} -->
  55      <div class="wp-block-columns alignwide"><!-- wp:column {"width":"67%"} -->
  56      <div class="wp-block-column" style="flex-basis:67%"><!-- wp:image {"align":"right","id":null,"sizeSlug":"large","linkDestination":"none"} -->
  57      <div class="wp-block-image"><figure class="alignright size-large"><img src="https://s.w.org/images/core/5.8/outside-03.jpg" alt="' . esc_attr__( 'The sun shining over a ridge leading down into the shore. In the distance, a car drives down a road.' ) . '" /></figure></div>
  58      <!-- /wp:image --></div>
  59      <!-- /wp:column -->
  60      
  61      <!-- wp:column {"verticalAlignment":"center","width":"33%"} -->
  62      <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:33%"><!-- wp:paragraph {"style":{"color":{"text":"#000000"}},"fontSize":"extra-small"} -->
  63      <p class="has-text-color has-extra-small-font-size" style="color:#000000">' . esc_html__( "Undoubtedly we have no questions to ask which are unanswerable. We must trust the perfection of the creation so far, as to believe that whatever curiosity the order of things has awakened in our minds, the order of things can satisfy. Every man's condition is a solution in hieroglyphic to those inquiries he would put." ) . '</p>
  64      <!-- /wp:paragraph --></div>
  65      <!-- /wp:column --></div>
  66      <!-- /wp:columns --></div></div>
  67      <!-- /wp:group -->',
  68      'description' => _x( 'Three columns with images and text', 'Block pattern description' ),
  69  );


Generated: Wed May 26 01:00:05 2021 Cross-referenced by PHPXref 0.7.1