File Editor
Directories:
.. (Back)
Files:
banner-about-book.php
banner-cover-big-heading.php
banner-intro-image.php
banner-intro.php
banner-poster.php
banner-with-description-and-images-grid.php
binding-format.php
comments.php
contact-centered-social-link.php
contact-info-locations.php
contact-location-and-link.php
cta-book-links.php
cta-book-locations.php
cta-centered-heading.php
cta-events-list.php
cta-grid-products-link.php
cta-heading-search.php
cta-newsletter.php
event-3-col.php
event-rsvp.php
event-schedule.php
footer-centered.php
footer-columns.php
footer-newsletter.php
footer-social.php
footer.php
format-audio.php
format-link.php
grid-videos.php
grid-with-categories.php
header-centered.php
header-columns.php
header-large-title.php
header.php
heading-and-paragraph-with-image.php
hero-book.php
hero-full-width-image.php
hero-overlapped-book-cover-with-links.php
hero-podcast.php
hidden-404.php
hidden-blog-heading.php
hidden-search.php
hidden-sidebar.php
hidden-written-by.php
logos.php
media-instagram-grid.php
more-posts.php
overlapped-images.php
page-business-home.php
page-coming-soon.php
page-cv-bio.php
page-landing-book.php
page-landing-event.php
page-landing-podcast.php
page-link-in-bio-heading-paragraph-links-image.php
page-link-in-bio-wide-margins.php
page-link-in-bio-with-tight-margins.php
page-portfolio-home.php
page-shop-home.php
post-navigation.php
pricing-2-col.php
pricing-3-col.php
services-3-col.php
services-subscriber-only-section.php
services-team-photos.php
template-404-vertical-header-blog.php
template-archive-news-blog.php
template-archive-photo-blog.php
template-archive-text-blog.php
template-archive-vertical-header-blog.php
template-home-news-blog.php
template-home-photo-blog.php
template-home-posts-grid-news-blog.php
template-home-text-blog.php
template-home-vertical-header-blog.php
template-home-with-sidebar-news-blog.php
template-page-photo-blog.php
template-page-vertical-header-blog.php
template-query-loop-news-blog.php
template-query-loop-photo-blog.php
template-query-loop-text-blog.php
template-query-loop-vertical-header-blog.php
template-query-loop.php
template-search-news-blog.php
template-search-photo-blog.php
template-search-text-blog.php
template-search-vertical-header-blog.php
template-single-left-aligned-content.php
template-single-news-blog.php
template-single-offset.php
template-single-photo-blog.php
template-single-text-blog.php
template-single-vertical-header-blog.php
testimonials-2-col.php
testimonials-6-col.php
testimonials-large.php
text-faqs.php
vertical-header.php
Create New File
Create
Edit File: hero-book.php
<?php /** * Title: Hero book * Slug: twentytwentyfive/hero-book * Categories: banner * Keywords: podcast, hero, stories * Description: A hero section for the book with a description and pre-order link. * * @package WordPress * @subpackage Twenty_Twenty_Five * @since Twenty Twenty-Five 1.0 */ ?> <!-- wp:group {"align":"full","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} --> <div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0"> <!-- wp:columns {"align":"full","style":{"spacing":{"blockGap":{"left":"0"}}}} --> <div class="wp-block-columns alignfull"> <!-- wp:column {"width":"55%"} --> <div class="wp-block-column" style="flex-basis:55%"> <!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/book-image-landing.webp","dimRatio":0,"customOverlayColor":"#6b6b6b","isUserOverlayColor":true,"isDark":false,"style":{"dimensions":{"aspectRatio":"1"}},"layout":{"type":"default"}} --> <div class="wp-block-cover is-light"> <span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim" style="background-color:#6b6b6b"></span> <img class="wp-block-cover__image-background" alt="<?php esc_attr_e( 'Image of the book', 'twentytwentyfive' ); ?>" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/book-image-landing.webp" data-object-fit="cover"/> <div class="wp-block-cover__inner-container"> <!-- wp:spacer {"height":"var:preset|spacing|20"} --> <div style="height:var(--wp--preset--spacing--20)" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> </div> </div> <!-- /wp:cover --> </div> <!-- /wp:column --> <!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}}}} --> <div class="wp-block-column is-vertically-aligned-center" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--60)"> <!-- wp:heading --> <h2 class="wp-block-heading has-xx-large-font-size"><?php echo esc_html_x( 'The Stories Book', 'Heading of the hero section.', 'twentytwentyfive' ); ?></h2> <!-- /wp:heading --> <!-- wp:paragraph --> <p><?php echo esc_html_x( 'A fine collection of moments in time featuring photographs from Louis Fleckenstein, Paul Strand and Asahachi Kōno.', 'Content of the hero section.', 'twentytwentyfive' ); ?></p> <!-- /wp:paragraph --> <!-- wp:paragraph {"fontSize":"medium"} --> <p class="has-medium-font-size"><?php echo esc_html_x( 'Available for pre-order now.', 'CTA text of the hero section.', 'twentytwentyfive' ); ?></p> <!-- /wp:paragraph --></div> <!-- /wp:column --></div> <!-- /wp:columns --></div> <!-- /wp:group -->
Save Changes
Rename File
Rename