[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Grid of posts with left sidebar block pattern 4 */ 5 return array( 6 'title' => __( 'Grid of posts with left 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:columns {"align":"wide","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} --> 10 <div class="wp-block-columns alignwide" style="margin-top:0px;margin-bottom:0px"><!-- wp:column {"width":"30%"} --> 11 <div class="wp-block-column" style="flex-basis:30%"><!-- wp:site-title {"isLink":false,"style":{"spacing":{"margin":{"top":"0px","bottom":"1rem"}},"typography":{"fontStyle":"italic","fontWeight":"300","lineHeight":"1.1"}},"fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))","fontFamily":"source-serif-pro"} /--> 12 13 <!-- wp:site-tagline {"fontSize":"small"} /--> 14 15 <!-- wp:spacer {"height":32} --> 16 <div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div> 17 <!-- /wp:spacer --> 18 19 <!-- wp:separator {"color":"foreground","className":"is-style-wide"} --> 20 <hr class="wp-block-separator has-text-color has-background has-foreground-background-color has-foreground-color is-style-wide"/> 21 <!-- /wp:separator --> 22 23 <!-- wp:spacer {"height":16} --> 24 <div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div> 25 <!-- /wp:spacer --> 26 27 <!-- wp:navigation {"orientation":"vertical"} --> 28 <!-- wp:page-list /--> 29 <!-- /wp:navigation --> 30 31 <!-- wp:spacer {"height":16} --> 32 <div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div> 33 <!-- /wp:spacer --> 34 35 <!-- wp:separator {"color":"foreground","className":"is-style-wide"} --> 36 <hr class="wp-block-separator has-text-color has-background has-foreground-background-color has-foreground-color is-style-wide"/> 37 <!-- /wp:separator --> 38 39 <!-- wp:spacer {"height":16} --> 40 <div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div> 41 <!-- /wp:spacer --> 42 43 <!-- wp:spacer {"height":16} --> 44 <div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div> 45 <!-- /wp:spacer --> 46 47 <!-- wp:site-logo {"width":60} /--></div> 48 <!-- /wp:column --> 49 50 <!-- wp:column {"width":"70%"} --> 51 <div class="wp-block-column" style="flex-basis:70%"><!-- wp:query {"query":{"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","sticky":"","inherit":false,"perPage":12},"displayLayout":{"type":"flex","columns":3},"layout":{"inherit":true}} --> 52 <div class="wp-block-query"><!-- wp:post-template --> 53 <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"200px"} /--> 54 55 <!-- wp:group {"layout":{"type":"flex","justifyContent":"space-between"}} --> 56 <div class="wp-block-group"><!-- wp:post-title {"isLink":true,"style":{"typography":{"fontStyle":"normal","fontWeight":"400"}},"fontSize":"small","fontFamily":"system-font"} /--> 57 58 <!-- wp:post-date {"format":"m.d.y","style":{"typography":{"fontStyle":"italic","fontWeight":"400"}},"fontSize":"small"} /--></div> 59 <!-- /wp:group --> 60 <!-- /wp:post-template --> 61 62 <!-- wp:separator {"className":"alignwide is-style-wide"} --> 63 <hr class="wp-block-separator alignwide is-style-wide"/> 64 <!-- /wp:separator --> 65 66 <!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} --> 67 <!-- wp:query-pagination-previous {"fontSize":"small"} /--> 68 69 <!-- wp:query-pagination-numbers /--> 70 71 <!-- wp:query-pagination-next {"fontSize":"small"} /--> 72 <!-- /wp:query-pagination --></div> 73 <!-- /wp:query --></div> 74 <!-- /wp:column --></div> 75 <!-- /wp:columns --></div> 76 <!-- /wp:group -->', 77 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sat Dec 21 08:20:01 2024 | Cross-referenced by PHPXref |