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: grid-with-categories.php
<?php /** * Title: Grid with categories * Slug: twentytwentyfive/grid-with-categories * Categories: banner * Viewport width: 1400 * Description: A grid section with different categories. * * @package WordPress * @subpackage Twenty_Twenty_Five * @since Twenty Twenty-Five 1.0 */ ?> <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} --> <div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)"> <!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"grid","minimumColumnWidth":"16rem"}} --> <div class="wp-block-group alignwide"> <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"center"}} --> <div class="wp-block-group"> <!-- wp:heading {"fontSize":"x-large"} --> <h2 class="wp-block-heading has-x-large-font-size"><?php esc_html_e( 'Top Categories', 'twentytwentyfive' ); ?></h2> <!-- /wp:heading --> </div> <!-- /wp:group --> <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> <div class="wp-block-group"> <!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/category-anthuriums.webp","alt":"Close up of a red anthurium.","dimRatio":0,"customOverlayColor":"#833d3a","isUserOverlayColor":true,"layout":{"type":"constrained"}} --> <div class="wp-block-cover"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim" style="background-color:#833d3a"></span><img class="wp-block-cover__image-background" alt="<?php esc_attr_e( 'Close up of a red anthurium.', 'twentytwentyfive' ); ?>" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/category-anthuriums.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 --> <!-- wp:paragraph {"align":"center"} --> <p class="has-text-align-center"><?php esc_html_e( 'Anthuriums', 'twentytwentyfive' ); ?></p> <!-- /wp:paragraph --> </div> <!-- /wp:group --> <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> <div class="wp-block-group"> <!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/category-cactus.webp","dimRatio":0,"customOverlayColor":"#828282","isUserOverlayColor":true,"isDark":false,"layout":{"type":"constrained"}} --> <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:#828282"></span><img class="wp-block-cover__image-background" alt="" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/category-cactus.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 --> <!-- wp:paragraph {"align":"center"} --> <p class="has-text-align-center"><?php esc_html_e( 'Cactus', 'twentytwentyfive' ); ?></p> <!-- /wp:paragraph --> </div> <!-- /wp:group --> <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> <div class="wp-block-group"> <!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/category-sunflowers.webp","dimRatio":0,"customOverlayColor":"#d6bc98","isUserOverlayColor":true,"isDark":false,"layout":{"type":"constrained"}} --> <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:#d6bc98"></span><img class="wp-block-cover__image-background" alt="" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/category-sunflowers.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 --> <!-- wp:paragraph {"align":"center"} --> <p class="has-text-align-center"><?php esc_html_e( 'Sunflowers', 'twentytwentyfive' ); ?></p> <!-- /wp:paragraph --> </div> <!-- /wp:group --> </div> <!-- /wp:group --> </div> <!-- /wp:group -->
Save Changes
Rename File
Rename