[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentytwentytwo/inc/patterns/ -> header-centered-logo-black-background.php (source)

   1  <?php
   2  /**
   3   * Header with centered logo and black background
   4   */
   5  return array(
   6      'title'      => __( 'Header with centered logo and black background', 'twentytwentytwo' ),
   7      'categories' => array( 'header' ),
   8      'blockTypes' => array( 'core/template-part/header' ),
   9      'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"var(--wp--custom--spacing--small, 1.25rem)","top":"var(--wp--custom--spacing--small, 1.25rem)"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"type":"flex","justifyContent":"center"}} -->
  10                      <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem)"><!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} -->
  11                      <!-- wp:navigation-link {"isTopLevelLink":true} /-->
  12  
  13                      <!-- wp:navigation-link {"isTopLevelLink":true} /-->
  14  
  15                      <!-- wp:site-logo {"width":90} /-->
  16  
  17                      <!-- wp:navigation-link {"isTopLevelLink":true} /-->
  18  
  19                      <!-- wp:navigation-link {"isTopLevelLink":true} /-->
  20                      <!-- /wp:navigation --></div>
  21                      <!-- /wp:group -->',
  22  );


Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1