2023-05-03 16:11:24 +00:00
< ? php
/**
2023-06-21 07:50:12 +00:00
* Title : Hero Product Split
2023-05-03 16:11:24 +00:00
* Slug : woocommerce - blocks / hero - product - split
* Categories : WooCommerce
*/
?>
2023-05-12 15:00:16 +00:00
<!-- wp : media - text { " align " : " full " , " mediaPosition " : " right " , " mediaType " : " image " , " mediaSizeSlug " : " full " , " imageFill " : false , " style " : { " color " : { " background " : " #000000 " , " text " : " #ffffff " }}} -->
< div class = " wp-block-media-text alignfull has-media-on-the-right is-stacked-on-mobile has-text-color has-background " style = " color:#ffffff;background-color:#000000 " >
< div class = " wp-block-media-text__content " >
<!-- wp : heading { " style " : { " color " : { " text " : " #ffffff " }}} -->
2023-06-09 07:18:30 +00:00
< h2 class = " wp-block-heading has-text-color " style = " color:#ffffff; " >< ? php esc_html_e ( 'Get cozy this fall with knit sweaters' , 'woo-gutenberg-products-block' ); ?> </h2>
2023-05-03 16:11:24 +00:00
<!-- / wp : heading -->
<!-- wp : buttons { " style " : { " spacing " : { " margin " : { " bottom " : " var:preset|spacing|40 " }}}} -->
< div class = " wp-block-buttons " style = " margin-bottom:var(--wp--preset--spacing--40) " >
2023-05-12 15:00:16 +00:00
<!-- wp : button { " style " : { " color " : { " text " : " #000000 " , " background " : " #ffffff " }}} -->
< div class = " wp-block-button " >
2023-06-20 07:12:32 +00:00
< a href = " <?php echo esc_url( get_permalink( wc_get_page_id( 'shop' ) ) ); ?> " class = " wp-block-button__link has-text-color has-background wp-element-button " style = " color:#000000;background-color:#ffffff; " >< ? php esc_html_e ( 'Shop now' , 'woo-gutenberg-products-block' ); ?> </a>
2023-05-12 15:00:16 +00:00
</ div >
<!-- / wp : button -->
2023-05-03 16:11:24 +00:00
</ div >
<!-- / wp : buttons -->
</ div >
< figure class = " wp-block-media-text__media " >
2023-06-12 17:34:03 +00:00
< img src = " <?php echo esc_url( plugins_url( 'images/pattern-placeholders/pattern-fashion-clothing-outerwear-wool-scarf.png', dirname( __FILE__ ) ) ); ?> " alt = " <?php esc_attr_e( 'Placeholder image used to represent a product being showcased in a hero section.', 'woo-gutenberg-products-block' ); ?> " />
2023-05-03 16:11:24 +00:00
</ figure >
</ div >
<!-- / wp : media - text -->