banner.php
7 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
3 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
3 months ago
four-image-grid-content-left.php
3 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
3 months ago
hero-product-3-split.php
7 months ago
hero-product-chessboard.php
7 months ago
hero-product-split.php
7 months ago
intro-centered-content-with-image-below.php
3 months ago
just-arrived-full-hero.php
7 months ago
no-products-found-filters.php
1 year 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
3 months ago
product-collection-3-columns.php
11 months ago
product-collection-4-columns.php
11 months ago
product-collection-5-columns.php
11 months ago
product-collection-featured-products-5-columns.php
7 months ago
product-query-product-gallery.php
6 months ago
product-search-form.php
1 year ago
related-products.php
11 months ago
social-follow-us-in-social-media.php
3 months ago
testimonials-3-columns.php
1 year ago
testimonials-single.php
3 months ago
three-columns-with-images-and-content.php
3 months ago
hero-product-3-split.php
123 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Title: Hero Product 3 Split |
| 4 | * Slug: woocommerce-blocks/hero-product-3-split |
| 5 | * Categories: WooCommerce, featured-selling |
| 6 | */ |
| 7 | |
| 8 | |
| 9 | $main_title = __( 'New: Retro Glass Jug', 'woocommerce' ); |
| 10 | $first_title = __( 'Timeless elegance', 'woocommerce' ); |
| 11 | $second_title = __( 'Durable glass', 'woocommerce' ); |
| 12 | $third_title = __( 'Versatile charm', 'woocommerce' ); |
| 13 | |
| 14 | $first_description = __( 'Elevate your table with a 330ml Retro Glass Jug, blending classic design and durable hardened glass.', 'woocommerce' ); |
| 15 | $second_description = __( 'Crafted from resilient thick glass, this jug ensures lasting quality, making it perfect for everyday use with a touch of vintage charm.', 'woocommerce' ); |
| 16 | $third_description = __( "The Retro Glass Jug's classic silhouette effortlessly complements any setting, making it the ideal choice for serving beverages with style and flair.", 'woocommerce' ); |
| 17 | ?> |
| 18 | |
| 19 | <!-- 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"}}},"layout":{"type":"constrained","justifyContent":"center"}} --> |
| 20 | <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))"> |
| 21 | <!-- 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":"0"},"margin":{"top":"0px","bottom":"0px"}}}} --> |
| 26 | <div class="wp-block-columns alignwide" style="margin-top:0px;margin-bottom:0px"> |
| 27 | <!-- wp:column --> |
| 28 | <div class="wp-block-column"> |
| 29 | <!-- wp:cover {"url":"<?php echo esc_url( plugins_url( 'assets/images/pattern-placeholders/drinkware-liquid-tableware-dishware-bottle-fluid.jpg', WC_PLUGIN_FILE ) ); ?>","dimRatio":0,"minHeight":800,"minHeightUnit":"px","isDark":false,"layout":{"type":"constrained"}} --> |
| 30 | <div class="wp-block-cover is-light" style="min-height:800px"> |
| 31 | <span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span> |
| 32 | <img |
| 33 | class="wp-block-cover__image-background" |
| 34 | alt="<?php esc_attr_e( 'Placeholder image used to represent a product being showcased.', 'woocommerce' ); ?>" |
| 35 | src="<?php echo esc_url( plugins_url( 'assets/images/pattern-placeholders/drinkware-liquid-tableware-dishware-bottle-fluid.jpg', WC_PLUGIN_FILE ) ); ?>" |
| 36 | data-object-fit="cover" /> |
| 37 | <div class="wp-block-cover__inner-container"> |
| 38 | <!-- wp:paragraph {"align":"center","placeholder":" ","fontSize":"large"} --> |
| 39 | <p class="has-text-align-center has-large-font-size"></p> |
| 40 | <!-- /wp:paragraph --> |
| 41 | </div> |
| 42 | </div> |
| 43 | <!-- /wp:cover --> |
| 44 | </div> |
| 45 | <!-- /wp:column --> |
| 46 | |
| 47 | <!-- wp:column {"verticalAlignment":"center"} --> |
| 48 | <div class="wp-block-column is-vertically-aligned-center"> |
| 49 | <!-- wp:group {"style":{"spacing":{"padding":{"top":"20px","bottom":"20px","left":"50px","right":"50px"},"blockGap":"48px","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} --> |
| 50 | <div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:20px;padding-right:50px;padding-bottom:20px;padding-left:50px"> |
| 51 | <!-- wp:heading {"level":3} --> |
| 52 | <h3 class="wp-block-heading"><?php echo esc_html( $main_title ); ?></h3> |
| 53 | <!-- /wp:heading --> |
| 54 | |
| 55 | <!-- wp:group {"style":{"spacing":{"blockGap":"35px"}},"layout":{"type":"constrained"}} --> |
| 56 | <div class="wp-block-group"> |
| 57 | <!-- wp:group {"style":{"spacing":{"blockGap":"6px"}},"layout":{"type":"constrained"}} --> |
| 58 | <div class="wp-block-group"> |
| 59 | <!-- wp:heading {"level":5,"style":{"typography":{"textTransform":"capitalize"}}} --> |
| 60 | <h5 class="wp-block-heading" style="text-transform:capitalize"><?php echo esc_html( $first_title ); ?></h5> |
| 61 | <!-- /wp:heading --> |
| 62 | |
| 63 | <!-- wp:paragraph --> |
| 64 | <p><?php echo esc_html( $first_description ); ?></p> |
| 65 | <!-- /wp:paragraph --> |
| 66 | </div> |
| 67 | <!-- /wp:group --> |
| 68 | |
| 69 | <!-- wp:separator {"className":"is-style-wide"} --> |
| 70 | <hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" /> |
| 71 | <!-- /wp:separator --> |
| 72 | |
| 73 | <!-- wp:group {"style":{"spacing":{"blockGap":"6px"}},"layout":{"type":"constrained"}} --> |
| 74 | <div class="wp-block-group"> |
| 75 | <!-- wp:heading {"level":5,"style":{"typography":{"textTransform":"capitalize"}}} --> |
| 76 | <h5 class="wp-block-heading" style="text-transform:capitalize"><?php echo esc_html( $second_title ); ?></h5> |
| 77 | <!-- /wp:heading --> |
| 78 | |
| 79 | <!-- wp:paragraph --> |
| 80 | <p><?php echo esc_html( $second_description ); ?></p> |
| 81 | <!-- /wp:paragraph --> |
| 82 | </div> |
| 83 | <!-- /wp:group --> |
| 84 | |
| 85 | <!-- wp:separator {"className":"is-style-wide"} --> |
| 86 | <hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" /> |
| 87 | <!-- /wp:separator --> |
| 88 | |
| 89 | <!-- wp:group {"style":{"spacing":{"blockGap":"6px"}},"layout":{"type":"constrained"}} --> |
| 90 | <div class="wp-block-group"> |
| 91 | <!-- wp:heading {"level":5,"style":{"typography":{"textTransform":"capitalize"}}} --> |
| 92 | <h5 class="wp-block-heading" style="text-transform:capitalize"><?php echo esc_html( $third_title ); ?></h5> |
| 93 | <!-- /wp:heading --> |
| 94 | |
| 95 | <!-- wp:paragraph --> |
| 96 | <p><?php echo esc_html( $third_description ); ?></p> |
| 97 | <!-- /wp:paragraph --> |
| 98 | </div> |
| 99 | <!-- /wp:group --> |
| 100 | </div> |
| 101 | <!-- /wp:group --> |
| 102 | |
| 103 | <!-- wp:buttons --> |
| 104 | <div class="wp-block-buttons"><!-- wp:button --> |
| 105 | <div class="wp-block-button"> |
| 106 | <a href="<?php echo esc_url( wc_get_page_permalink( 'shop' ) ); ?>" class="wp-block-button__link wp-element-button"><?php esc_html_e( 'Shop now', 'woocommerce' ); ?></a> |
| 107 | </div> |
| 108 | <!-- /wp:button --> |
| 109 | </div> |
| 110 | <!-- /wp:buttons --> |
| 111 | </div> |
| 112 | <!-- /wp:group --> |
| 113 | </div> |
| 114 | <!-- /wp:column --> |
| 115 | </div> |
| 116 | <!-- /wp:columns --> |
| 117 | |
| 118 | <!-- wp:spacer {"height":"calc( 0.25 * var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal)))"} --> |
| 119 | <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> |
| 120 | <!-- /wp:spacer --> |
| 121 | </div> |
| 122 | <!-- /wp:group --> |
| 123 |