File Editor
Directories:
.. (Back)
Files:
footer-about-title-logo.php
footer-blog.php
footer-dark.php
footer-default.php
footer-logo.php
footer-navigation-copyright.php
footer-navigation.php
footer-query-images-title-citation.php
footer-query-title-citation.php
footer-social-copyright.php
footer-title-tagline-social.php
general-divider-dark.php
general-divider-light.php
general-featured-posts.php
general-image-with-caption.php
general-large-list-names.php
general-layered-images-with-duotone.php
general-list-events.php
general-pricing-table.php
general-subscribe.php
general-two-images-text.php
general-video-header-details.php
general-video-trailer.php
general-wide-image-intro-buttons.php
header-centered-logo-black-background.php
header-centered-logo.php
header-centered-title-navigation-social.php
header-default.php
header-image-background-overlay.php
header-image-background.php
header-large-dark.php
header-logo-navigation-gray-background.php
header-logo-navigation-offset-tagline.php
header-logo-navigation-social-black-background.php
header-small-dark.php
header-stacked.php
header-text-only-green-background.php
header-text-only-salmon-background.php
header-text-only-with-tagline-black-background.php
header-title-and-button.php
header-title-navigation-social.php
header-with-tagline.php
hidden-404.php
hidden-bird.php
hidden-heading-and-bird.php
page-about-large-image-and-buttons.php
page-about-links-dark.php
page-about-links.php
page-about-media-left.php
page-about-media-right.php
page-about-simple-dark.php
page-about-solid-color.php
page-layout-image-and-text.php
page-layout-image-text-and-video.php
page-layout-two-columns.php
page-sidebar-blog-posts-right.php
page-sidebar-blog-posts.php
page-sidebar-grid-posts.php
page-sidebar-poster.php
query-default.php
query-grid.php
query-image-grid.php
query-irregular-grid.php
query-large-titles.php
query-simple-blog.php
query-text-grid.php
Create New File
Create
Edit File: page-sidebar-blog-posts.php
<?php /** * Blog posts with left sidebar block pattern */ return array( 'title' => __( 'Blog posts with left sidebar', 'twentytwentytwo' ), 'categories' => array( 'twentytwentytwo_pages' ), '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}} --> <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"},"blockGap":"5%"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} --> <div class="wp-block-columns alignwide has-primary-color has-text-color has-link-color" style="margin-top:0px;margin-bottom:0px"><!-- wp:column {"width":"33.33%"} --> <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:cover {"overlayColor":"secondary","minHeight":400,"isDark":false} --> <div class="wp-block-cover is-light" style="min-height:400px"><span aria-hidden="true" class="has-secondary-background-color has-background-dim-100 wp-block-cover__gradient-background has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:site-logo {"align":"center","width":60} /--></div></div> <!-- /wp:cover --> <!-- wp:spacer {"height":40} --> <div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> <!-- wp:site-tagline {"fontSize":"small"} /--> <!-- wp:spacer {"height":32} --> <div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> <!-- wp:separator {"color":"foreground","className":"is-style-wide"} --> <hr class="wp-block-separator has-text-color has-background has-foreground-background-color has-foreground-color is-style-wide"/> <!-- /wp:separator --> <!-- wp:spacer {"height":32} --> <div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> <!-- wp:navigation {"orientation":"vertical"} --> <!-- wp:page-list /--> <!-- /wp:navigation --> <!-- wp:spacer {"height":32} --> <div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> <!-- wp:separator {"color":"foreground","className":"is-style-wide"} --> <hr class="wp-block-separator has-text-color has-background has-foreground-background-color has-foreground-color is-style-wide"/> <!-- /wp:separator --></div> <!-- /wp:column --> <!-- wp:column {"width":"66.66%"} --> <div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:query {"query":{"perPage":"5","pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"layout":{"inherit":true}} --> <div class="wp-block-query"><!-- wp:post-template --> <!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0","bottom":"1rem"}},"typography":{"fontStyle":"normal","fontWeight":"300"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))"} /--> <!-- wp:post-featured-image {"isLink":true} /--> <!-- wp:post-excerpt /--> <!-- wp:group {"layout":{"type":"flex"}} --> <div class="wp-block-group"><!-- wp:post-date {"format":"F j, Y","style":{"typography":{"fontStyle":"normal","fontWeight":"400"}},"fontSize":"small"} /--> <!-- wp:post-terms {"term":"category","fontSize":"small"} /--> <!-- wp:post-terms {"term":"post_tag","fontSize":"small"} /--></div> <!-- /wp:group --> <!-- wp:spacer {"height":128} --> <div style="height:128px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> <!-- /wp:post-template --> <!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} --> <!-- wp:query-pagination-previous {"fontSize":"small"} /--> <!-- wp:query-pagination-numbers /--> <!-- wp:query-pagination-next {"fontSize":"small"} /--> <!-- /wp:query-pagination --></div> <!-- /wp:query --></div> <!-- /wp:column --></div> <!-- /wp:columns --></div> <!-- /wp:group -->', );
Save Changes
Rename File
Rename