[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Title: Footer with colophon, 3 columns 4 * Slug: twentytwentyfour/footer-colophon-3-col 5 * Categories: footer 6 * Block Types: core/template-part/footer 7 * Description: A footer section with a colophon and 3 columns. 8 */ 9 ?> 10 11 <!-- wp:group {"align":"wide","layout":{"type":"constrained"}} --> 12 <div class="wp-block-group alignwide"> 13 <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}}} --> 14 <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)"> 15 <!-- wp:image {"width":"40px","height":"auto","sizeSlug":"full","linkDestination":"none"} --> 16 <figure class="wp-block-image size-full is-resized"> 17 <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-message.webp" alt="" style="width:40px;height:auto" /> 18 </figure> 19 <!-- /wp:image --> 20 21 <!-- wp:separator {"className":"is-style-wide"} --> 22 <hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" /> 23 <!-- /wp:separator --> 24 25 <!-- wp:columns {"style":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}}} --> 26 <div class="wp-block-columns" style="padding-top:var(--wp--preset--spacing--10)"> 27 <!-- wp:column {"width":"57%"} --> 28 <div class="wp-block-column" style="flex-basis:57%"> 29 <!-- wp:heading {"fontSize":"x-large"} --> 30 <h2 class="wp-block-heading has-x-large-font-size"><?php esc_html_e( 'Keep up, get in touch.', 'twentytwentyfour' ); ?></h2> 31 <!-- /wp:heading --> 32 </div> 33 <!-- /wp:column --> 34 <!-- wp:column {"width":"30%"} --> 35 <div class="wp-block-column" style="flex-basis:30%"> 36 <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"vertical"}} --> 37 <div class="wp-block-group"> 38 <!-- wp:heading {"level":3,"fontSize":"medium","fontFamily":"body"} --> 39 <h3 class="wp-block-heading has-body-font-family has-medium-font-size"><?php esc_html_e( 'Contact', 'twentytwentyfour' ); ?></h3> 40 <!-- /wp:heading --> 41 <!-- wp:paragraph --> 42 <p><a href="#"><?php echo esc_html_x( 'info@example.com', 'Example email in site footer', 'twentytwentyfour' ); ?></a></p> 43 <!-- /wp:paragraph --> 44 </div> 45 <!-- /wp:group --> 46 </div> 47 <!-- /wp:column --> 48 <!-- wp:column {"width":"30%"} --> 49 <div class="wp-block-column" style="flex-basis:30%"> 50 <!-- wp:columns {"isStackedOnMobile":false} --> 51 <div class="wp-block-columns is-not-stacked-on-mobile"> 52 <!-- wp:column --> 53 <div class="wp-block-column"> 54 <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"vertical"}} --> 55 <div class="wp-block-group"> 56 <!-- wp:heading {"level":3,"fontSize":"medium","fontFamily":"body"} --> 57 <h3 class="wp-block-heading has-body-font-family has-medium-font-size"><?php esc_html_e( 'Follow', 'twentytwentyfour' ); ?></h3> 58 <!-- /wp:heading --> 59 <!-- wp:paragraph --> 60 <p><a href="#"><?php esc_html_e( 'Instagram', 'twentytwentyfour' ); ?></a> / <a href="#"><?php esc_html_e( 'Facebook', 'twentytwentyfour' ); ?></a></p> 61 <!-- /wp:paragraph --> 62 </div> 63 <!-- /wp:group --> 64 </div> 65 <!-- /wp:column --> 66 </div> 67 <!-- /wp:columns --> 68 </div> 69 <!-- /wp:column --> 70 </div> 71 <!-- /wp:columns --> 72 73 <!-- wp:spacer {"height":"var:preset|spacing|50"} --> 74 <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div> 75 <!-- /wp:spacer --> 76 77 <!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","verticalAlignment":"top"}} --> 78 <div class="wp-block-group"> 79 <!-- wp:group {"style":{"spacing":{"blockGap":"6px"}},"layout":{"type":"flex","flexWrap":"wrap"}} --> 80 <div class="wp-block-group"> 81 <!-- wp:paragraph {"fontSize":"small"} --> 82 <p class="has-small-font-size"><?php esc_html_e( '©', 'twentytwentyfour' ); ?></p> 83 <!-- /wp:paragraph --> 84 <!-- wp:site-title {"level":0,"style":{"typography":{"fontStyle":"normal","fontWeight":"400"}},"fontSize":"small"} /--> 85 </div> 86 <!-- /wp:group --> 87 <!-- wp:paragraph {"fontSize":"small"} --> 88 <p class="has-small-font-size"> 89 <?php 90 /* Translators: WordPress link. */ 91 $wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentyfour' ) ) . '" rel="nofollow">WordPress</a>'; 92 echo sprintf( 93 /* Translators: Designed with WordPress */ 94 esc_html__( 'Designed with %1$s', 'twentytwentyfour' ), 95 $wordpress_link 96 ); 97 ?> 98 </p> 99 <!-- /wp:paragraph --> 100 </div> 101 <!-- /wp:group --> 102 103 </div> 104 <!-- /wp:group --> 105 </div> 106 <!-- /wp:group -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |