banner.php
8 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
8 months ago
hero-product-chessboard.php
8 months ago
hero-product-split.php
8 months ago
intro-centered-content-with-image-below.php
4 months ago
just-arrived-full-hero.php
8 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
8 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
heading-with-three-columns-of-content-with-link.php
80 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Title: Heading with Three Columns of Content and Link |
| 4 | * Slug: woocommerce-blocks/heading-with-three-columns-of-content-with-link |
| 5 | * Categories: WooCommerce, Services |
| 6 | */ |
| 7 | declare(strict_types=1); |
| 8 | |
| 9 | $header = __( 'Our services', 'woocommerce' ); |
| 10 | $product_title = __( 'Create anything', 'woocommerce' ); |
| 11 | $description = __( 'Navigating life\'s intricate fabric, choices unfold paths to the extraordinary, demanding creativity, curiosity, and courage for a truly fulfilling journey.', 'woocommerce' ); |
| 12 | $button_link = __( 'Get started', 'woocommerce' ); |
| 13 | ?> |
| 14 | |
| 15 | |
| 16 | |
| 17 | <!-- wp:group {"metadata":{"name":"Services"},"align":"full","className":"alignfull","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"}} --> |
| 18 | <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)))"} --> |
| 19 | <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> |
| 20 | <!-- /wp:spacer --> |
| 21 | |
| 22 | <!-- wp:group {"align":"wide","layout":{"type":"constrained"}} --> |
| 23 | <div class="wp-block-group alignwide"><!-- wp:heading {"textAlign":"left","align":"full","style":{"typography":{"fontStyle":"normal"}}} --> |
| 24 | <h2 class="wp-block-heading alignfull has-text-align-left" style="font-style:normal;"><?php echo esc_html( $header ); ?></h2> |
| 25 | <!-- /wp:heading --></div> |
| 26 | <!-- /wp:group --> |
| 27 | |
| 28 | <!-- wp:spacer {"height":"var:preset|spacing|20"} --> |
| 29 | <div style="height:var(--wp--preset--spacing--20)" aria-hidden="true" class="wp-block-spacer"></div> |
| 30 | <!-- /wp:spacer --> |
| 31 | |
| 32 | <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|40","left":"var:preset|spacing|30"}}}} --> |
| 33 | <div class="wp-block-columns alignwide"><!-- wp:column --> |
| 34 | <div class="wp-block-column"><!-- wp:heading {"level":3,"className":"is-service-name","style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"medium"} --> |
| 35 | <h3 class="wp-block-heading is-service-name has-medium-font-size" style="font-style:normal;font-weight:700"><?php echo esc_html( $product_title ); ?></h3> |
| 36 | <!-- /wp:heading --> |
| 37 | |
| 38 | <!-- wp:paragraph {"className":"is-service-description"} --> |
| 39 | <p class="is-service-description"><?php echo esc_html( $description ); ?></p> |
| 40 | <!-- /wp:paragraph --> |
| 41 | |
| 42 | <!-- wp:paragraph {"className":"is-service-link"} --> |
| 43 | <p class="is-service-link"><a href="#"><?php echo esc_html( $button_link ); ?></a> →</p> |
| 44 | <!-- /wp:paragraph --></div> |
| 45 | <!-- /wp:column --> |
| 46 | |
| 47 | <!-- wp:column --> |
| 48 | <div class="wp-block-column"><!-- wp:heading {"level":3,"className":"is-service-name","style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"medium"} --> |
| 49 | <h3 class="wp-block-heading is-service-name has-medium-font-size" style="font-style:normal;font-weight:700"><?php echo esc_html( $product_title ); ?></h3> |
| 50 | <!-- /wp:heading --> |
| 51 | |
| 52 | <!-- wp:paragraph {"className":"is-service-description"} --> |
| 53 | <p class="is-service-description"><?php echo esc_html( $description ); ?></p> |
| 54 | <!-- /wp:paragraph --> |
| 55 | |
| 56 | <!-- wp:paragraph {"className":"is-service-link"} --> |
| 57 | <p class="is-service-link"><a href="#"><?php echo esc_html( $button_link ); ?></a> →</p> |
| 58 | <!-- /wp:paragraph --></div> |
| 59 | <!-- /wp:column --> |
| 60 | |
| 61 | <!-- wp:column --> |
| 62 | <div class="wp-block-column"><!-- wp:heading {"level":3,"className":"is-service-name","style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"medium"} --> |
| 63 | <h3 class="wp-block-heading is-service-name has-medium-font-size" style="font-style:normal;font-weight:700"><?php echo esc_html( $product_title ); ?></h3> |
| 64 | <!-- /wp:heading --> |
| 65 | |
| 66 | <!-- wp:paragraph {"className":"is-service-description"} --> |
| 67 | <p class="is-service-description"><?php echo esc_html( $description ); ?></p> |
| 68 | <!-- /wp:paragraph --> |
| 69 | |
| 70 | <!-- wp:paragraph {"className":"is-service-link"} --> |
| 71 | <p class="is-service-link"><a href="#"><?php echo esc_html( $button_link ); ?></a> →</p> |
| 72 | <!-- /wp:paragraph --></div> |
| 73 | <!-- /wp:column --></div> |
| 74 | <!-- /wp:columns --> |
| 75 | |
| 76 | <!-- wp:spacer {"height":"calc( 0.25 * var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal)))"} --> |
| 77 | <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> |
| 78 | <!-- /wp:spacer --></div> |
| 79 | <!-- /wp:group --> |
| 80 |