banner.php
1 year 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
1 year ago
featured-category-cover-image.php
1 year ago
featured-category-triple.php
1 year ago
filters.php
1 year ago
footer-large.php
1 year ago
footer-simple-menu.php
2 years ago
footer-with-3-menus.php
2 years ago
four-image-grid-content-left.php
1 year 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
1 year ago
hero-product-3-split.php
1 year ago
hero-product-chessboard.php
1 year ago
hero-product-split.php
1 year ago
intro-centered-content-with-image-below.php
1 year ago
just-arrived-full-hero.php
1 year 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
1 year 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
1 year ago
product-query-product-gallery.php
1 year ago
product-search-form.php
1 year ago
related-products.php
1 year ago
social-follow-us-in-social-media.php
1 year ago
testimonials-3-columns.php
1 year ago
testimonials-single.php
1 year ago
three-columns-with-images-and-content.php
1 year ago
testimonials-3-columns.php
88 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Title: Testimonials 3 Columns |
| 4 | * Slug: woocommerce-blocks/testimonials-3-columns |
| 5 | * Categories: WooCommerce, Reviews |
| 6 | */ |
| 7 | |
| 8 | $main_header = $content['titles'][3]['default'] ?? ''; |
| 9 | $first_review = $content['titles'][0]['default'] ?? ''; |
| 10 | $second_review = $content['titles'][1]['default'] ?? ''; |
| 11 | $third_review = $content['titles'][2]['default'] ?? ''; |
| 12 | $first_description = $content['descriptions'][0]['default'] ?? ''; |
| 13 | $second_description = $content['descriptions'][1]['default'] ?? ''; |
| 14 | $third_description = $content['descriptions'][2]['default'] ?? ''; |
| 15 | ?> |
| 16 | |
| 17 | <!-- wp:group {"metadata":{"name":"Testimonials 3 Columns"},"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"}} --> |
| 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))"> |
| 19 | <!-- wp:spacer {"height":"calc( 0.25 * var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal)))"} --> |
| 20 | <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> |
| 21 | <!-- /wp:spacer --> |
| 22 | |
| 23 | <!-- wp:heading {"level":3,"align":"wide"} --> |
| 24 | <h3 class="wp-block-heading alignwide"><?php echo esc_html( $main_header ); ?></h3> |
| 25 | <!-- /wp:heading --> |
| 26 | |
| 27 | <!-- wp:spacer {"height":"var:preset|spacing|20"} --> |
| 28 | <div style="height:var(--wp--preset--spacing--20)" aria-hidden="true" class="wp-block-spacer"></div> |
| 29 | <!-- /wp:spacer --> |
| 30 | |
| 31 | <!-- wp:columns {"align":"wide"} --> |
| 32 | <div class="wp-block-columns alignwide"> |
| 33 | <!-- wp:column --> |
| 34 | <div class="wp-block-column"> |
| 35 | <!-- wp:paragraph --> |
| 36 | <p><strong><?php echo esc_html( $first_review ); ?></strong></p> |
| 37 | <!-- /wp:paragraph --> |
| 38 | |
| 39 | <!-- wp:paragraph --> |
| 40 | <p><?php echo esc_html( $first_description ); ?></p> |
| 41 | <!-- /wp:paragraph --> |
| 42 | |
| 43 | <!-- wp:paragraph --> |
| 44 | <p>Sophia K.</p> |
| 45 | <!-- /wp:paragraph --> |
| 46 | </div> |
| 47 | <!-- /wp:column --> |
| 48 | |
| 49 | <!-- wp:column --> |
| 50 | <div class="wp-block-column"> |
| 51 | <!-- wp:paragraph --> |
| 52 | |
| 53 | <p><strong><?php echo esc_html( $second_review ); ?></strong></p> |
| 54 | <!-- /wp:paragraph --> |
| 55 | |
| 56 | <!-- wp:paragraph --> |
| 57 | <p><?php echo esc_html( $second_description ); ?></p> |
| 58 | <!-- /wp:paragraph --> |
| 59 | |
| 60 | <!-- wp:paragraph --> |
| 61 | <p>Liam M.</p> |
| 62 | <!-- /wp:paragraph --> |
| 63 | </div> |
| 64 | <!-- /wp:column --> |
| 65 | |
| 66 | <!-- wp:column --> |
| 67 | <div class="wp-block-column"> |
| 68 | <!-- wp:paragraph --> |
| 69 | <p><strong><?php echo esc_html( $third_review ); ?></strong></p> |
| 70 | <!-- /wp:paragraph --> |
| 71 | |
| 72 | <!-- wp:paragraph --> |
| 73 | <p><?php echo esc_html( $third_description ); ?></p> |
| 74 | <!-- /wp:paragraph --> |
| 75 | |
| 76 | <!-- wp:paragraph --> |
| 77 | <p>Ava L.</p> |
| 78 | <!-- /wp:paragraph --> |
| 79 | </div> |
| 80 | <!-- /wp:column --> |
| 81 | </div> |
| 82 | <!-- /wp:columns --> |
| 83 | |
| 84 | <!-- wp:spacer {"height":"calc( 0.25 * var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal)))"} --> |
| 85 | <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> |
| 86 | <!-- /wp:spacer --> |
| 87 | </div> |
| 88 | <!-- /wp:group --> |