[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Footer with query, title, and citation 4 */ 5 return array( 6 'title' => __( 'Footer with query, title, and citation', 'twentytwentytwo' ), 7 'categories' => array( 'footer' ), 8 'blockTypes' => array( 'core/template-part/footer' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3},"align":"wide"} --> 11 <div class="wp-block-query alignwide"><!-- wp:post-template --> 12 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 13 14 <!-- wp:post-excerpt /--> 15 16 <!-- wp:post-date {"isLink":true} /--> 17 <!-- /wp:post-template --></div> 18 <!-- /wp:query --> 19 20 <!-- wp:spacer --> 21 <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div> 22 <!-- /wp:spacer --> 23 24 <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 25 <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:site-title {"level":0} /--> 26 <!-- wp:group {"layout":{"type":"flex","justifyContent":"right"}} --> 27 <div class="wp-block-group"> 28 <!-- wp:paragraph --> 29 <p>' . 30 sprintf( 31 /* Translators: WordPress link. */ 32 esc_html__( 'Proudly powered by %s', 'twentytwentytwo' ), 33 '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentytwo' ) ) . '" rel="nofollow">WordPress</a>' 34 ) . '</p> 35 <!-- /wp:paragraph --></div> 36 <!-- /wp:group --></div> 37 <!-- /wp:group --></div> 38 <!-- /wp:group -->', 39 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sun Dec 22 08:20:01 2024 | Cross-referenced by PHPXref |