banner.php
9 months ago
coming-soon-entire-site.php
1 year ago
coming-soon-store-only.php
1 year ago
coming-soon.php
1 year ago
content-right-image-left.php
4 months ago
featured-category-cover-image.php
1 year ago
featured-category-triple.php
1 year ago
footer-large.php
1 year ago
footer-simple-menu.php
2 years ago
footer-with-3-menus.php
4 months ago
four-image-grid-content-left.php
4 months ago
header-centered-pattern.php
1 year ago
header-distraction-free.php
1 year ago
header-essential.php
1 year ago
header-large.php
1 year ago
header-minimal.php
1 year ago
heading-with-three-columns-of-content-with-link.php
4 months ago
hero-product-3-split.php
9 months ago
hero-product-chessboard.php
9 months ago
hero-product-split.php
9 months ago
intro-centered-content-with-image-below.php
4 months ago
just-arrived-full-hero.php
9 months ago
no-products-found-filters.php
2 years ago
no-products-found.php
2 years ago
page-coming-soon-default.php
1 year ago
page-coming-soon-image-gallery.php
1 year ago
page-coming-soon-minimal-left-image.php
1 year ago
page-coming-soon-modern-black.php
1 year ago
page-coming-soon-split-right-image.php
1 year ago
page-coming-soon-with-header-footer.php
4 months ago
product-collection-3-columns.php
1 year ago
product-collection-4-columns.php
1 year ago
product-collection-5-columns.php
1 year ago
product-collection-featured-products-5-columns.php
9 months ago
product-query-product-gallery.php
7 months ago
product-search-form.php
2 years ago
related-products.php
1 year ago
social-follow-us-in-social-media.php
4 months ago
testimonials-3-columns.php
1 year ago
testimonials-single.php
4 months ago
three-columns-with-images-and-content.php
4 months ago
four-image-grid-content-left.php
69 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Title: Four Image Grid Content Left |
| 4 | * Slug: woocommerce-blocks/four-image-grid-content-left |
| 5 | * Categories: WooCommerce, About |
| 6 | */ |
| 7 | declare(strict_types=1); |
| 8 | |
| 9 | $header = __( 'Create anything', 'woocommerce' ); |
| 10 | $content = __( 'Navigating life\'s intricate fabric, choices unfold paths to the extraordinary, demanding creativity, curiosity, and courage for a truly fulfilling journey.', 'woocommerce' ); |
| 11 | $button = __( 'Get Started', 'woocommerce' ); |
| 12 | |
| 13 | $image_0 = plugins_url( 'assets/images/pattern-placeholders/sun-glass-vase-green-ceramic-shelf.jpg', WC_PLUGIN_FILE ); |
| 14 | $image_1 = plugins_url( 'assets/images/pattern-placeholders/white-vase-decoration-pattern-ceramic-lamp.jpg', WC_PLUGIN_FILE ); |
| 15 | $image_2 = plugins_url( 'assets/images/pattern-placeholders/plant-white-leaf-flower-vase-green.jpg', WC_PLUGIN_FILE ); |
| 16 | $image_3 = plugins_url( 'assets/images/pattern-placeholders/tree-branch-plant-wood-leaf-flower.jpg', WC_PLUGIN_FILE ); |
| 17 | |
| 18 | ?> |
| 19 | |
| 20 | <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"calc( 0.5 * var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal)))","bottom":"calc( 0.5 * var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal)))","left":"var(--wp--style--root--padding-left, var(--wp--custom--gap--horizontal))","right":"var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal))"},"margin":{"top":"0","bottom":"0"}}},"className":"alignfull","layout":{"type":"constrained","justifyContent":"center"}} --> |
| 21 | <div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:calc( 0.5 * var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal)));padding-right:var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal));padding-bottom:calc( 0.5 * var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal)));padding-left:var(--wp--style--root--padding-left, var(--wp--custom--gap--horizontal))"><!-- wp:spacer {"height":"calc( 0.25 * var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal)))"} --> |
| 22 | <div style="height:calc( 0.25 * var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal)))" aria-hidden="true" class="wp-block-spacer"></div> |
| 23 | <!-- /wp:spacer --> |
| 24 | |
| 25 | <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|40"}}}} --> |
| 26 | <div class="wp-block-columns alignwide"><!-- wp:column {"verticalAlignment":"center","width":"40%","layout":{"type":"constrained","justifyContent":"left","contentSize":"400px"}} --> |
| 27 | <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:40%"><!-- wp:heading --> |
| 28 | <h2 class="wp-block-heading"><?php echo esc_html( $header ); ?></h2> |
| 29 | <!-- /wp:heading --> |
| 30 | |
| 31 | <!-- wp:paragraph --> |
| 32 | <p><?php echo esc_html( $content ); ?></p> |
| 33 | <!-- /wp:paragraph --> |
| 34 | |
| 35 | <!-- wp:buttons --> |
| 36 | <div class="wp-block-buttons"><!-- wp:button --><div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html( $button ); ?></a></div><!-- /wp:button --></div> |
| 37 | <!-- /wp:buttons --></div> |
| 38 | <!-- /wp:column --> |
| 39 | |
| 40 | <!-- wp:column --> |
| 41 | <div class="wp-block-column"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"8px","left":"8px"}}}} --> |
| 42 | <div class="wp-block-columns alignwide"><!-- wp:column {"style":{"spacing":{"blockGap":"8px"}}} --> |
| 43 | <div class="wp-block-column"><!-- wp:image {"id":13699,"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","className":"is-style-default"} --> |
| 44 | <figure class="wp-block-image size-full is-style-default"><img src="<?php echo esc_html( $image_0 ); ?>" alt="" class="wp-image-13699" style="aspect-ratio:1;object-fit:cover" /></figure> |
| 45 | <!-- /wp:image --> |
| 46 | |
| 47 | <!-- wp:image {"id":13707,"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","className":"is-style-default"} --> |
| 48 | <figure class="wp-block-image size-full is-style-default"><img src="<?php echo esc_html( $image_1 ); ?>" alt="" class="wp-image-13707" style="aspect-ratio:1;object-fit:cover" /></figure> |
| 49 | <!-- /wp:image --></div> |
| 50 | <!-- /wp:column --> |
| 51 | |
| 52 | <!-- wp:column {"style":{"spacing":{"blockGap":"8px"}}} --> |
| 53 | <div class="wp-block-column"><!-- wp:image {"id":13707,"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","className":"is-style-default"} --> |
| 54 | <figure class="wp-block-image size-full is-style-default"><img src="<?php echo esc_html( $image_2 ); ?>" alt="" class="wp-image-13707" style="aspect-ratio:1;object-fit:cover" /></figure> |
| 55 | <!-- /wp:image --> |
| 56 | |
| 57 | <!-- wp:image {"id":13699,"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","className":"is-style-default"} --> |
| 58 | <figure class="wp-block-image size-full is-style-default"><img src="<?php echo esc_html( $image_3 ); ?>" alt="" class="wp-image-13699" style="aspect-ratio:1;object-fit:cover" /></figure> |
| 59 | <!-- /wp:image --></div> |
| 60 | <!-- /wp:column --></div> |
| 61 | <!-- /wp:columns --></div> |
| 62 | <!-- /wp:column --></div> |
| 63 | <!-- /wp:columns --> |
| 64 | |
| 65 | <!-- wp:spacer {"height":"calc( 0.25 * var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal)))"} --> |
| 66 | <div style="height:calc( 0.25 * var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal)))" aria-hidden="true" class="wp-block-spacer"></div> |
| 67 | <!-- /wp:spacer --></div> |
| 68 | <!-- /wp:group --> |
| 69 |