[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Blog posts with right sidebar block pattern 4 */ 5 return array( 6 'title' => __( 'Blog posts with right sidebar', 'twentytwentytwo' ), 7 'categories' => array( 'twentytwentytwo_pages' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"layout":{"inherit":true}} --> 9 <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"2rem","top":"0px","right":"0px","left":"0px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 10 <div class="wp-block-group alignwide" style="padding-top:0px;padding-right:0px;padding-bottom:2rem;padding-left:0px"><!-- wp:group {"layout":{"type":"flex"}} --> 11 <div class="wp-block-group"><!-- wp:site-logo {"width":64} /--></div> 12 <!-- /wp:group --> 13 14 <!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} --> 15 <!-- wp:page-list /--> 16 <!-- /wp:navigation --></div> 17 <!-- /wp:group --> 18 19 <!-- wp:spacer {"height":64} --> 20 <div style="height:64px" aria-hidden="true" class="wp-block-spacer"></div> 21 <!-- /wp:spacer --> 22 23 <!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"5%"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground"} --> 24 <div class="wp-block-columns alignwide has-foreground-color has-text-color has-link-color" style="margin-top:0px;margin-bottom:0px"><!-- wp:column {"width":"66.66%","style":{"spacing":{"padding":{"bottom":"6rem"}}}} --> 25 <div class="wp-block-column" style="padding-bottom:6rem;flex-basis:66.66%"><!-- wp:query {"queryId":9,"query":{"perPage":"5","pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"displayLayout":{"type":"list"},"layout":{"inherit":true}} --> 26 <div class="wp-block-query"><!-- wp:post-template --> 27 <!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0","bottom":"1rem"}},"typography":{"fontStyle":"normal","fontWeight":"300"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))"} /--> 28 29 <!-- wp:post-featured-image {"isLink":true} /--> 30 31 <!-- wp:post-excerpt /--> 32 33 <!-- wp:group {"layout":{"type":"flex"}} --> 34 <div class="wp-block-group"><!-- wp:post-date {"format":"F j, Y","style":{"typography":{"fontStyle":"normal","fontWeight":"400"}},"fontSize":"small"} /--> 35 36 <!-- wp:post-terms {"term":"category","fontSize":"small"} /--> 37 38 <!-- wp:post-terms {"term":"post_tag","fontSize":"small"} /--></div> 39 <!-- /wp:group --> 40 41 <!-- wp:spacer {"height":64} --> 42 <div style="height:64px" aria-hidden="true" class="wp-block-spacer"></div> 43 <!-- /wp:spacer --> 44 <!-- /wp:post-template --> 45 46 <!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} --> 47 <!-- wp:query-pagination-previous {"fontSize":"small"} /--> 48 49 <!-- wp:query-pagination-numbers /--> 50 51 <!-- wp:query-pagination-next {"fontSize":"small"} /--> 52 <!-- /wp:query-pagination --></div> 53 <!-- /wp:query --></div> 54 <!-- /wp:column --> 55 56 <!-- wp:column {"width":"33.33%"} --> 57 <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:image {"width":768,"height":1160,"sizeSlug":"large","linkDestination":"none"} --> 58 <figure class="wp-block-image size-large is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-salmon.jpg" alt="' . esc_attr__( 'Illustration of a flying bird.', 'twentytwentytwo' ) . '" width="768" height="1160"/></figure> 59 <!-- /wp:image --> 60 61 <!-- wp:spacer {"height":4} --> 62 <div style="height:4px" aria-hidden="true" class="wp-block-spacer"></div> 63 <!-- /wp:spacer --> 64 65 <!-- wp:site-title {"isLink":false,"style":{"typography":{"fontStyle":"normal","fontWeight":"300","lineHeight":"1.2"}},"fontSize":"large","fontFamily":"source-serif-pro"} /--> 66 67 <!-- wp:site-tagline /--> 68 69 <!-- wp:spacer {"height":16} --> 70 <div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div> 71 <!-- /wp:spacer --> 72 73 <!-- wp:heading {"level":4,"fontSize":"large"} --> 74 <h4 class="has-large-font-size"><em>' . esc_html__( 'Categories', 'twentytwentytwo' ) . '</em></h4> 75 <!-- /wp:heading --> 76 77 <!-- wp:tag-cloud {"taxonomy":"category","showTagCounts":true} /--> 78 79 <!-- wp:heading {"level":4,"fontSize":"large"} --> 80 <h4 class="has-large-font-size"><em>' . esc_html__( 'Tags', 'twentytwentytwo' ) . '</em></h4> 81 <!-- /wp:heading --> 82 83 <!-- wp:tag-cloud {"showTagCounts":true} /--></div> 84 <!-- /wp:column --></div> 85 <!-- /wp:columns --></div> 86 <!-- /wp:group -->', 87 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |