[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> contact-info-locations.php (source)

   1  <?php
   2  /**
   3   * Title: Contact, info and locations
   4   * Slug: twentytwentyfive/contact-info-locations
   5   * Keywords: contact, location
   6   * Categories: contact
   7   * Viewport width: 1400
   8   * Description: Contact section with social media links, email, and multiple location details.
   9   *
  10   * @package WordPress
  11   * @subpackage Twenty_Twenty_Five
  12   * @since Twenty Twenty-Five 1.0
  13   */
  14  
  15  ?>
  16  <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
  17  <div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)">
  18      <!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
  19      <div class="wp-block-group alignwide">
  20          <!-- wp:heading {"textAlign":"left","align":"full","fontSize":"xx-large"} -->
  21          <h2 class="wp-block-heading alignfull has-text-align-left has-xx-large-font-size"><?php esc_html_e( 'How to get in touch with us', 'twentytwentyfive' ); ?></h2>
  22          <!-- /wp:heading -->
  23  
  24          <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"blockGap":"var:preset|spacing|50","margin":{"top":"var:preset|spacing|50"}},"border":{"top":{"color":"var:preset|color|accent-4","width":"1px"}}},"layout":{"type":"grid","minimumColumnWidth":"23rem"}} -->
  25          <div class="wp-block-group alignwide" style="border-top-color:var(--wp--preset--color--accent-4);border-top-width:1px;margin-top:var(--wp--preset--spacing--50);padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
  26              <!-- wp:group {"style":{"layout":{"rowSpan":1,"columnSpan":2}},"layout":{"type":"flex","orientation":"vertical"}} -->
  27              <div class="wp-block-group">
  28                  <!-- wp:heading {"level":3,"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"medium"} -->
  29                  <h3 class="wp-block-heading has-medium-font-size" style="font-style:normal;font-weight:700"><?php esc_html_e( 'Social media', 'twentytwentyfive' ); ?></h3>
  30                  <!-- /wp:heading -->
  31                  <!-- wp:navigation {"overlayMenu":"never","style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"fontSize":"medium","layout":{"type":"flex","orientation":"vertical"},"ariaLabel":"<?php esc_attr_e( 'Social media', 'twentytwentyfive' ); ?>"} -->
  32                      <!-- wp:navigation-link {"label":"<?php echo esc_html_x( 'X', 'Refers to the social media platform formerly known as Twitter.', 'twentytwentyfive' ); ?>","url":"#"} /-->
  33                      <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Instagram', 'twentytwentyfive' ); ?>","url":"#"} /-->
  34                      <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Facebook', 'twentytwentyfive' ); ?>","url":"#"} /-->
  35                      <!-- wp:navigation-link {"label":"<?php esc_html_e( 'TikTok', 'twentytwentyfive' ); ?>","url":"#"} /-->
  36                  <!-- /wp:navigation -->
  37                  <!-- wp:heading {"level":3,"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"medium"} -->
  38                  <h3 class="wp-block-heading has-medium-font-size" style="font-style:normal;font-weight:700"><?php esc_html_e( 'Email', 'twentytwentyfive' ); ?></h3>
  39                  <!-- /wp:heading -->
  40                  <!-- wp:paragraph {"fontSize":"medium"} -->
  41                  <p class="has-medium-font-size"><?php esc_html_e( 'example@example.com', 'twentytwentyfive' ); ?></p>
  42                  <!-- /wp:paragraph -->
  43              </div>
  44              <!-- /wp:group -->
  45  
  46              <!-- wp:group {"layout":{"type":"grid","minimumColumnWidth":null,"columnCount":2}} -->
  47              <div class="wp-block-group">
  48                  <!-- wp:group {"style":{"layout":{"columnSpan":1,"rowSpan":1}},"layout":{"type":"constrained"}} -->
  49                  <div class="wp-block-group">
  50                      <!-- wp:heading {"level":3,"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"medium"} -->
  51                      <h3 class="wp-block-heading has-medium-font-size" style="font-style:normal;font-weight:700"><?php esc_html_e( 'New York', 'twentytwentyfive' ); ?></h3>
  52                      <!-- /wp:heading -->
  53                      <!-- wp:paragraph {"fontSize":"medium"} -->
  54                      <p class="has-medium-font-size"><?php esc_html_e( '123 Example St. Manhattan, NY 10300 United States', 'twentytwentyfive' ); ?></p>
  55                      <!-- /wp:paragraph -->
  56                  </div>
  57                  <!-- /wp:group -->
  58  
  59                  <!-- wp:group {"style":{"layout":{"columnSpan":1,"rowSpan":1}},"layout":{"type":"constrained"}} -->
  60                  <div class="wp-block-group">
  61                      <!-- wp:heading {"level":3,"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"medium"} -->
  62                      <h3 class="wp-block-heading has-medium-font-size" style="font-style:normal;font-weight:700"><?php esc_html_e( 'San Diego', 'twentytwentyfive' ); ?></h3>
  63                      <!-- /wp:heading -->
  64  
  65                      <!-- wp:paragraph {"fontSize":"medium"} -->
  66                      <p class="has-medium-font-size"><?php esc_html_e( '123 Example St. Manhattan, NY 10300 United States', 'twentytwentyfive' ); ?></p>
  67                      <!-- /wp:paragraph -->
  68                  </div>
  69                  <!-- /wp:group -->
  70  
  71                  <!-- wp:group {"style":{"layout":{"columnSpan":1,"rowSpan":1}},"layout":{"type":"constrained"}} -->
  72                  <div class="wp-block-group">
  73                      <!-- wp:heading {"level":3,"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"medium"} -->
  74                      <h3 class="wp-block-heading has-medium-font-size" style="font-style:normal;font-weight:700"><?php esc_html_e( 'Salt Lake City', 'twentytwentyfive' ); ?></h3>
  75                      <!-- /wp:heading -->
  76  
  77                      <!-- wp:paragraph {"fontSize":"medium"} -->
  78                      <p class="has-medium-font-size"><?php esc_html_e( '123 Example St. Manhattan, NY 10300 United States', 'twentytwentyfive' ); ?></p>
  79                      <!-- /wp:paragraph -->
  80                  </div>
  81                  <!-- /wp:group -->
  82  
  83                  <!-- wp:group {"style":{"layout":{"columnSpan":1,"rowSpan":1}},"layout":{"type":"constrained"}} -->
  84                  <div class="wp-block-group">
  85                      <!-- wp:heading {"level":3,"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"medium"} -->
  86                      <h3 class="wp-block-heading has-medium-font-size" style="font-style:normal;font-weight:700"><?php esc_html_e( 'Portland', 'twentytwentyfive' ); ?></h3>
  87                      <!-- /wp:heading -->
  88  
  89                      <!-- wp:paragraph {"fontSize":"medium"} -->
  90                      <p class="has-medium-font-size"><?php esc_html_e( '123 Example St. Manhattan, NY 10300 United States', 'twentytwentyfive' ); ?></p>
  91                      <!-- /wp:paragraph -->
  92                  </div>
  93                  <!-- /wp:group -->
  94              </div>
  95              <!-- /wp:group -->
  96          </div>
  97          <!-- /wp:group -->
  98      </div>
  99      <!-- /wp:group -->
 100  </div>
 101  <!-- /wp:group -->


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