2023-04-24 08:15:55 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Title: Testimonials 3 Columns
|
|
|
|
* Slug: woocommerce-blocks/testimonials-3-columns
|
|
|
|
* Categories: WooCommerce
|
|
|
|
*/
|
2023-09-25 09:48:52 +00:00
|
|
|
|
|
|
|
use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper;
|
2023-10-06 10:42:51 +00:00
|
|
|
|
|
|
|
$main_header = $content['titles'][0]['default'] ?? '';
|
2023-10-24 13:24:05 +00:00
|
|
|
$first_review = $content['titles'][1]['default'] ?? '';
|
|
|
|
$second_review = $content['titles'][2]['default'] ?? '';
|
|
|
|
$third_review = $content['titles'][3]['default'] ?? '';
|
2023-10-06 10:42:51 +00:00
|
|
|
$first_description = $content['descriptions'][0]['default'] ?? '';
|
|
|
|
$second_description = $content['descriptions'][1]['default'] ?? '';
|
|
|
|
$third_description = $content['descriptions'][2]['default'] ?? '';
|
2023-04-24 08:15:55 +00:00
|
|
|
?>
|
2023-10-17 08:56:02 +00:00
|
|
|
|
2023-12-04 15:28:22 +00:00
|
|
|
<!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"top":"0px","bottom":"80px"}}},"layout":{"type":"constrained"}} -->
|
2023-10-17 08:56:02 +00:00
|
|
|
<div class="wp-block-group alignwide" style="margin-top:0px;margin-bottom:80px">
|
2023-12-04 15:28:22 +00:00
|
|
|
<!-- wp:heading {"level":3,"align":"wide"} -->
|
|
|
|
<h3 class="wp-block-heading alignwide"><?php echo esc_html( $main_header ); ?></h3>
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- /wp:heading -->
|
2023-04-24 08:15:55 +00:00
|
|
|
|
2023-12-04 15:28:22 +00:00
|
|
|
<!-- wp:columns {"align":"wide"} -->
|
|
|
|
<div class="wp-block-columns alignwide">
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- wp:column -->
|
|
|
|
<div class="wp-block-column">
|
|
|
|
<!-- wp:paragraph -->
|
2023-10-24 13:24:05 +00:00
|
|
|
<p><strong><?php echo esc_html( $first_review ); ?></strong></p>
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- /wp:paragraph -->
|
2023-07-19 11:24:21 +00:00
|
|
|
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- wp:paragraph -->
|
2023-10-06 10:42:51 +00:00
|
|
|
<p><?php echo esc_html( $first_description ); ?></p>
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- /wp:paragraph -->
|
2023-04-24 08:15:55 +00:00
|
|
|
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- wp:paragraph -->
|
2023-12-01 09:49:17 +00:00
|
|
|
<p>~ Sophia K.</p>
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- /wp:paragraph -->
|
|
|
|
</div>
|
|
|
|
<!-- /wp:column -->
|
2023-04-24 08:15:55 +00:00
|
|
|
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- wp:column -->
|
|
|
|
<div class="wp-block-column">
|
|
|
|
<!-- wp:paragraph -->
|
|
|
|
|
2023-10-24 13:24:05 +00:00
|
|
|
<p><strong><?php echo esc_html( $second_review ); ?></strong></p>
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- /wp:paragraph -->
|
|
|
|
|
|
|
|
<!-- wp:paragraph -->
|
2023-10-06 10:42:51 +00:00
|
|
|
<p><?php echo esc_html( $second_description ); ?></p>
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- /wp:paragraph -->
|
|
|
|
|
|
|
|
<!-- wp:paragraph -->
|
2023-12-01 09:49:17 +00:00
|
|
|
<p>~ Liam M.</p>
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- /wp:paragraph -->
|
|
|
|
</div>
|
|
|
|
<!-- /wp:column -->
|
2023-04-24 08:15:55 +00:00
|
|
|
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- wp:column -->
|
|
|
|
<div class="wp-block-column">
|
|
|
|
<!-- wp:paragraph -->
|
2023-10-24 13:24:05 +00:00
|
|
|
<p><strong><?php echo esc_html( $third_review ); ?></strong></p>
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- /wp:paragraph -->
|
2023-04-24 08:15:55 +00:00
|
|
|
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- wp:paragraph -->
|
2023-10-06 10:42:51 +00:00
|
|
|
<p><?php echo esc_html( $third_description ); ?></p>
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- /wp:paragraph -->
|
2023-04-24 08:15:55 +00:00
|
|
|
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- wp:paragraph -->
|
2023-12-01 09:49:17 +00:00
|
|
|
<p>~ Ava L.</p>
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- /wp:paragraph -->
|
|
|
|
</div>
|
|
|
|
<!-- /wp:column -->
|
2023-07-19 11:24:21 +00:00
|
|
|
</div>
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- /wp:columns -->
|
2023-07-19 11:24:21 +00:00
|
|
|
</div>
|
2023-10-05 11:14:53 +00:00
|
|
|
<!-- /wp:group -->
|