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
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-single.php
53 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Title: Testimonials Single |
| 4 | * Slug: woocommerce-blocks/testimonials-single |
| 5 | * Categories: WooCommerce, Reviews |
| 6 | */ |
| 7 | |
| 8 | |
| 9 | $testimonials_title = __( 'A ‘brewtiful’ experience :-)', 'woocommerce' ); |
| 10 | $description = __( 'Exceptional flavors, sustainable choices. The carefully curated collection of coffee pots and accessories turned my kitchen into a haven of style and taste.', 'woocommerce' ); |
| 11 | ?> |
| 12 | |
| 13 | <!-- wp:group {"metadata":{"name":"Testimonials Single"},"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"}} --> |
| 14 | <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)))"} --> |
| 15 | <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> |
| 16 | <!-- /wp:spacer --> |
| 17 | |
| 18 | <!-- wp:columns {"metadata":{"categories":["woo-commerce"],"patternName":"woocommerce-blocks/testimonials-single"},"align":"wide","style":{"spacing":{"blockGap":{"top":"0","left":"var:preset|spacing|40"}}}} --> |
| 19 | <div class="wp-block-columns alignwide"> |
| 20 | <!-- wp:column {"verticalAlignment":"center","width":"160px"} --> |
| 21 | <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:160px"> |
| 22 | <!-- wp:image {"width":"164px","className":"is-style-rounded"} --> |
| 23 | <figure class="wp-block-image is-resized is-style-rounded"> |
| 24 | <img src="<?php echo esc_url( plugins_url( 'assets/images/pattern-placeholders/portrait.png', WC_PLUGIN_FILE ) ); ?>" alt="<?php esc_attr_e( 'Placeholder image with the avatar of the user who is writing the testimonial.', 'woocommerce' ); ?>" style="width:164px"/> |
| 25 | </figure> |
| 26 | <!-- /wp:image --> |
| 27 | </div> |
| 28 | <!-- /wp:column --> |
| 29 | |
| 30 | <!-- wp:column {"verticalAlignment":"center","layout":{"type":"constrained","justifyContent":"left"}} --> |
| 31 | <div class="wp-block-column is-vertically-aligned-center"> |
| 32 | <!-- wp:paragraph --> |
| 33 | <p><strong><?php echo esc_html( $testimonials_title ); ?></strong></p> |
| 34 | <!-- /wp:paragraph --> |
| 35 | |
| 36 | <!-- wp:paragraph --> |
| 37 | <p><?php echo esc_html( $description ); ?></p> |
| 38 | <!-- /wp:paragraph --> |
| 39 | |
| 40 | <!-- wp:paragraph --> |
| 41 | <p>Monica P.</p> |
| 42 | <!-- /wp:paragraph --> |
| 43 | </div> |
| 44 | <!-- /wp:column --> |
| 45 | </div> |
| 46 | <!-- /wp:columns --> |
| 47 | |
| 48 | <!-- wp:spacer {"height":"calc( 0.25 * var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal)))"} --> |
| 49 | <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> |
| 50 | <!-- /wp:spacer --> |
| 51 | </div> |
| 52 | <!-- /wp:group --> |
| 53 |