diff --git a/patterns/hero-product-3-split.php b/patterns/hero-product-3-split.php index 6b07c3445d6..932688faf2d 100644 --- a/patterns/hero-product-3-split.php +++ b/patterns/hero-product-3-split.php @@ -6,104 +6,107 @@ */ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; + $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/hero-product-3-split' ); $images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/hero-product-3-split' ); -$first_title = $content['titles'][0]['default'] ?? ''; -$second_title = $content['titles'][1]['default'] ?? ''; -$third_title = $content['titles'][2]['default'] ?? ''; -$fourth_title = $content['titles'][3]['default'] ?? ''; -$fifth_title = $content['titles'][4]['default'] ?? ''; +$main_title = $content['titles'][0]['default'] ?? ''; +$first_title = $content['titles'][1]['default'] ?? ''; +$second_title = $content['titles'][2]['default'] ?? ''; +$third_title = $content['titles'][3]['default'] ?? ''; $first_description = $content['descriptions'][0]['default'] ?? ''; $second_description = $content['descriptions'][1]['default'] ?? ''; $third_description = $content['descriptions'][2]['default'] ?? ''; -$fourth_description = $content['descriptions'][3]['default'] ?? ''; -$fifth_description = $content['descriptions'][4]['default'] ?? ''; ?> - -
- - - - - - - -
- + + + +
- + + + +
- + + + +