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-about-media-left.php
<?php /** * About page with media on the left */ return array( 'title' => __( 'About page with media on the left', 'twentytwentytwo' ), 'categories' => array( 'twentytwentytwo_pages' ), 'content' => '<!-- wp:media-text {"align":"full","mediaType":"image","imageFill":true,"focalPoint":{"x":"0.63","y":"0.16"},"backgroundColor":"foreground","className":"alignfull is-image-fill has-background-color has-text-color has-background has-link-color"} --> <div class="wp-block-media-text alignfull is-stacked-on-mobile is-image-fill has-background-color has-text-color has-background has-link-color has-foreground-background-color has-background"><figure class="wp-block-media-text__media" style="background-image:url(' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-salmon.jpg);background-position:63% 16%"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-salmon.jpg" alt="' . esc_attr__( 'Image of a bird on a branch', 'twentytwentytwo' ) . '"/></figure><div class="wp-block-media-text__content"><!-- wp:spacer {"height":32} --> <div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> <!-- wp:site-logo {"width":60} /--> <!-- wp:group {"style":{"spacing":{"padding":{"right":"min(8rem, 5vw)","top":"min(28rem, 28vw)"}}}} --> <div class="wp-block-group" style="padding-top:min(28rem, 28vw);padding-right:min(8rem, 5vw)"><!-- wp:heading {"style":{"typography":{"fontWeight":"300","lineHeight":"1.115","fontSize":"clamp(3rem, 6vw, 4.5rem)"}}} --> <h2 style="font-size:clamp(3rem, 6vw, 4.5rem);font-weight:300;line-height:1.115"><em>' . esc_html__( 'Doug', 'twentytwentytwo' ) . '<br>' . esc_html__( 'Stilton', 'twentytwentytwo' ) . '</em></h2> <!-- /wp:heading --> <!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.6"}}} --> <p style="line-height:1.6">' . esc_html__( 'Oh hello. My name’s Doug, and you’ve found your way to my website. I’m an avid bird watcher, and I also broadcast my own radio show on Tuesday evenings at 11PM EDT.', 'twentytwentytwo' ) . '</p> <!-- /wp:paragraph --> <!-- wp:spacer {"height":40} --> <div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> <!-- wp:social-links {"iconColor":"background","iconColorValue":"var(--wp--preset--color--background)","iconBackgroundColor":"foreground","iconBackgroundColorValue":"var(--wp--preset--color--foreground)"} --> <ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"#","service":"wordpress"} /--> <!-- wp:social-link {"url":"#","service":"twitter"} /--> <!-- wp:social-link {"url":"#","service":"instagram"} /--></ul> <!-- /wp:social-links --></div> <!-- /wp:group --> <!-- wp:spacer {"height":32} --> <div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --></div></div> <!-- /wp:media-text -->', );
Save Changes
Rename File
Rename