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: general-video-header-details.php
<?php /** * Video with header and details block pattern */ return array( 'title' => __( 'Video with header and details', 'twentytwentytwo' ), 'categories' => array( 'featured', 'columns' ), 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"var(--wp--custom--spacing--large, 8rem)"}},"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}}},"backgroundColor":"foreground","textColor":"secondary"} --> <div class="wp-block-group alignfull has-secondary-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:var(--wp--custom--spacing--large, 8rem)"><!-- wp:group {"align":"full","layout":{"inherit":true}} --> <div class="wp-block-group alignfull"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(3rem, 6vw, 4.5rem)"}}} --> <h1 class="alignwide" id="warble-a-film-about-hobbyist-bird-watchers-1" style="font-size:clamp(3rem, 6vw, 4.5rem)">' . wp_kses_post( __( '<em>Warble</em>, a film about <br>hobbyist bird watchers.', 'twentytwentytwo' ) ) . '</h1> <!-- /wp:heading --> <!-- wp:spacer {"height":32} --> <div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> <!-- wp:video {"align":"wide"} --> <figure class="wp-block-video alignwide"><video controls src="' . esc_url( get_template_directory_uri() ) . '/assets/videos/birds.mp4"></video></figure> <!-- /wp:video --> <!-- wp:spacer {"height":32} --> <div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> <!-- wp:columns {"align":"wide"} --> <div class="wp-block-columns alignwide"><!-- wp:column {"width":"50%"} --> <div class="wp-block-column" style="flex-basis:50%"><!-- wp:paragraph --> <p><strong>' . esc_html__( 'Featuring', 'twentytwentytwo' ) . '</strong></p> <!-- /wp:paragraph --></div> <!-- /wp:column --> <!-- wp:column --> <div class="wp-block-column"><!-- wp:paragraph --> <p>' . wp_kses_post( __( 'Jesús Rodriguez<br>Doug Stilton<br>Emery Driscoll<br>Megan Perry<br>Rowan Price', 'twentytwentytwo' ) ) . '</p> <!-- /wp:paragraph --></div> <!-- /wp:column --> <!-- wp:column --> <div class="wp-block-column"><!-- wp:paragraph --> <p>' . wp_kses_post( __( 'Angelo Tso<br>Edward Stilton<br>Amy Jensen<br>Boston Bell<br>Shay Ford', 'twentytwentytwo' ) ) . '</p> <!-- /wp:paragraph --></div> <!-- /wp:column --></div> <!-- /wp:columns --></div> <!-- /wp:group --></div> <!-- /wp:group -->', );
Save Changes
Rename File
Rename