[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> contact-centered-social-link.php (source)

   1  <?php
   2  /**
   3   * Title: Centered link and social links
   4   * Slug: twentytwentyfive/contact-centered-social-link
   5   * Keywords: contact, faq, questions
   6   * Categories: contact
   7   * Description: Centered contact section with a prominent message and social media links.
   8   *
   9   * @package WordPress
  10   * @subpackage Twenty_Twenty_Five
  11   * @since Twenty Twenty-Five 1.0
  12   */
  13  
  14  ?>
  15  
  16  <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|50"}},"layout":{"type":"constrained"}} -->
  17  <div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)">
  18      <!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
  19      <div class="wp-block-group alignwide">
  20          <!-- wp:paragraph {"align":"center","className":"is-style-text-display","style":{"typography":{"fontStyle":"normal","fontWeight":"400"}}} -->
  21          <p class="has-text-align-center is-style-text-display" style="font-style:normal;font-weight:400"><?php echo wp_kses_post( _x( 'Got questions? <br><a href="#" rel="nofollow">Feel free to reach out.</a>', 'Heading of the Contact social link pattern', 'twentytwentyfive' ) ); ?></p>
  22          <!-- /wp:paragraph -->
  23  
  24          <!-- wp:spacer {"height":"var:preset|spacing|40"} -->
  25          <div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
  26          <!-- /wp:spacer -->
  27  
  28          <!-- wp:social-links {"iconColor":"contrast","className":"has-icon-color is-style-logos-only","layout":{"type":"flex","justifyContent":"center"}} -->
  29          <ul class="wp-block-social-links has-icon-color is-style-logos-only">
  30              <!-- wp:social-link {"url":"#","service":"twitter"} /-->
  31              <!-- wp:social-link {"url":"#","service":"facebook"} /-->
  32              <!-- wp:social-link {"url":"#","service":"instagram"} /-->
  33              <!-- wp:social-link {"url":"#","service":"pinterest"} /-->
  34          </ul>
  35          <!-- /wp:social-links -->
  36      </div>
  37      <!-- /wp:group -->
  38  </div>
  39  <!-- /wp:group -->


Generated : Thu Oct 24 08:20:01 2024 Cross-referenced by PHPXref