[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Title: Footer with colophon, 4 columns 4 * Slug: twentytwentyfour/footer 5 * Categories: footer 6 * Block Types: core/template-part/footer 7 * Description: A footer section with a colophon and 4 columns. 8 */ 9 ?> 10 11 <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} --> 12 <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)"> 13 <!-- wp:columns {"align":"wide"} --> 14 <div class="wp-block-columns alignwide"> 15 <!-- wp:column {"width":"30%"} --> 16 <div class="wp-block-column" style="flex-basis:30%"> 17 <!-- wp:group {"style":{"dimensions":{"minHeight":""},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","orientation":"vertical"}} --> 18 <div class="wp-block-group"> 19 <!-- wp:site-logo {"width":20,"shouldSyncIcon":true,"style":{"layout":{"selfStretch":"fit","flexSize":null}}} /--> 20 21 <!-- wp:site-title {"level":0,"fontSize":"medium"} /--> 22 23 <!-- wp:site-tagline {"fontSize":"small"} /--> 24 </div> 25 <!-- /wp:group --> 26 </div> 27 <!-- /wp:column --> 28 29 <!-- wp:column {"width":"20%"} --> 30 <div class="wp-block-column" style="flex-basis:20%"> 31 </div> 32 <!-- /wp:column --> 33 34 <!-- wp:column {"width":"50%"} --> 35 <div class="wp-block-column" style="flex-basis:50%"> 36 <!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","verticalAlignment":"top"}} --> 37 <div class="wp-block-group"> 38 <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> 39 <div class="wp-block-group"> 40 <!-- wp:heading {"level":2,"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontFamily":"body"} --> 41 <h2 class="wp-block-heading has-medium-font-size has-body-font-family" style="font-style:normal;font-weight:600"><?php esc_html_e( 'About', 'twentytwentyfour' ); ?></h2> 42 <!-- /wp:heading --> 43 44 <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"vertical"}} --> 45 <div class="wp-block-group"> 46 47 <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small","ariaLabel":"<?php esc_attr_e( 'About', 'twentytwentyfour' ); ?>"} --> 48 49 <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Team', 'twentytwentyfour' ); ?>","url":"#"} /--> 50 <!-- wp:navigation-link {"label":"<?php esc_html_e( 'History', 'twentytwentyfour' ); ?>","url":"#"} /--> 51 <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Careers', 'twentytwentyfour' ); ?>","url":"#"} /--> 52 53 <!-- /wp:navigation --> 54 55 </div> 56 <!-- /wp:group --> 57 </div> 58 59 <!-- /wp:group --> 60 61 <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> 62 <div class="wp-block-group"> 63 <!-- wp:heading {"level":2,"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontFamily":"body"} --> 64 <h2 class="wp-block-heading has-medium-font-size has-body-font-family" style="font-style:normal;font-weight:600"><?php esc_html_e( 'Privacy', 'twentytwentyfour' ); ?></h2> 65 <!-- /wp:heading --> 66 67 <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"vertical"}} --> 68 <div class="wp-block-group"> 69 70 <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small","ariaLabel":"<?php esc_attr_e( 'Privacy', 'twentytwentyfour' ); ?>"} --> 71 72 <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Privacy Policy', 'twentytwentyfour' ); ?>","url":"#"} /--> 73 <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Terms and Conditions', 'twentytwentyfour' ); ?>","url":"#"} /--> 74 <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Contact Us', 'twentytwentyfour' ); ?>","url":"#"} /--> 75 76 <!-- /wp:navigation --> 77 78 </div> 79 <!-- /wp:group --> 80 </div> 81 <!-- /wp:group --> 82 83 <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> 84 <div class="wp-block-group"> 85 <!-- wp:heading {"level":2,"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontFamily":"body"} --> 86 <h2 class="wp-block-heading has-medium-font-size has-body-font-family" style="font-style:normal;font-weight:600"><?php esc_html_e( 'Social', 'twentytwentyfour' ); ?></h2> 87 <!-- /wp:heading --> 88 89 <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"vertical"}} --> 90 <div class="wp-block-group"> 91 92 <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small","ariaLabel":"<?php esc_attr_e( 'Social Media', 'twentytwentyfour' ); ?>"} --> 93 94 <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Facebook', 'twentytwentyfour' ); ?>","url":"#"} /--> 95 <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Instagram', 'twentytwentyfour' ); ?>","url":"#"} /--> 96 <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Twitter/X', 'twentytwentyfour' ); ?>","url":"#"} /--> 97 98 <!-- /wp:navigation --> 99 100 </div> 101 <!-- /wp:group --> 102 </div> 103 <!-- /wp:group --> 104 </div> 105 <!-- /wp:group --> 106 </div> 107 <!-- /wp:column --> 108 </div> 109 <!-- /wp:columns --> 110 111 <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"0"}}}} --> 112 <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:0"> 113 <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast-2","fontSize":"small"} --> 114 <p class="has-contrast-2-color has-text-color has-link-color has-small-font-size"> 115 <?php 116 /* Translators: WordPress link. */ 117 $wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentyfour' ) ) . '" rel="nofollow">WordPress</a>'; 118 echo sprintf( 119 /* Translators: Designed with WordPress */ 120 esc_html__( 'Designed with %1$s', 'twentytwentyfour' ), 121 $wordpress_link 122 ); 123 ?> 124 </p> 125 <!-- /wp:paragraph --> 126 </div> 127 <!-- /wp:group --> 128 </div> 129 <!-- /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 |