[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentytwo/inc/patterns/ -> general-divider-light.php (source)

   1  <?php
   2  /**
   3   * Divider with image and color (light) block pattern
   4   */
   5  return array(
   6      'title'      => __( 'Divider with image and color (light)', 'twentytwentytwo' ),
   7      'categories' => array( 'featured' ),
   8      'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"1rem","right":"0px","bottom":"1rem","left":"0px"}}},"backgroundColor":"secondary"} -->
   9                      <div class="wp-block-group alignfull has-secondary-background-color has-background" style="padding-top:1rem;padding-right:0px;padding-bottom:1rem;padding-left:0px"><!-- wp:image {"id":473,"width":3001,"height":246,"sizeSlug":"full","linkDestination":"none"} -->
  10                      <figure class="wp-block-image size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/divider-black.png" alt="" class="wp-image-473" width="3001" height="246"/></figure>
  11                      <!-- /wp:image --></div>
  12                      <!-- /wp:group -->',
  13  );


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref