Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/woocomme.../patterns
File: content-right-image-left.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Title: Content Right with Image Left
[2] Fix | Delete
* Slug: woocommerce-blocks/content-right-with-image-left
[3] Fix | Delete
* Categories: WooCommerce, About
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
declare(strict_types=1);
[7] Fix | Delete
[8] Fix | Delete
[9] Fix | Delete
$header = __( 'Committed to a greener lifestyle', 'woocommerce' );
[10] Fix | Delete
$content = __( "Our passion is crafting mindful moments with locally sourced, organic, and sustainable products. We're more than a store; we're your path to a community-driven, eco-friendly lifestyle that embraces premium quality.", 'woocommerce' );
[11] Fix | Delete
$button = __( 'Meet us', 'woocommerce' );
[12] Fix | Delete
$image_0 = plugins_url( 'assets/images/pattern-placeholders/drinkware-liquid-tableware-dishware-bottle-fluid.jpg', WC_PLUGIN_FILE );
[13] Fix | Delete
[14] Fix | Delete
?>
[15] Fix | Delete
[16] Fix | Delete
<!-- wp:group {"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"}}},"className":"alignfull","layout":{"type":"constrained","justifyContent":"center"}} -->
[17] Fix | Delete
<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)))"} -->
[18] Fix | Delete
<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>
[19] Fix | Delete
<!-- /wp:spacer -->
[20] Fix | Delete
[21] Fix | Delete
<!-- wp:columns {"verticalAlignment":"center","align":"wide","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|40"}}}} -->
[22] Fix | Delete
<div class="wp-block-columns alignwide are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center"} -->
[23] Fix | Delete
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:image {"id":13699,"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none"} -->
[24] Fix | Delete
<figure class="wp-block-image size-full"><img src="<?php echo esc_html( $image_0 ); ?>" alt="" class="wp-image-13699" style="aspect-ratio:1;object-fit:cover" /></figure>
[25] Fix | Delete
<!-- /wp:image --></div>
[26] Fix | Delete
<!-- /wp:column -->
[27] Fix | Delete
[28] Fix | Delete
<!-- wp:column {"verticalAlignment":"center"} -->
[29] Fix | Delete
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading {"align":"wide"} -->
[30] Fix | Delete
<h2 class="wp-block-heading alignwide"><?php echo esc_html( $header ); ?></h2>
[31] Fix | Delete
<!-- /wp:heading -->
[32] Fix | Delete
[33] Fix | Delete
<!-- wp:paragraph -->
[34] Fix | Delete
<p><?php echo esc_html( $content ); ?></p>
[35] Fix | Delete
<!-- /wp:paragraph -->
[36] Fix | Delete
[37] Fix | Delete
<!-- wp:buttons -->
[38] Fix | Delete
<div class="wp-block-buttons"><!-- wp:button --><div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html( $button ); ?></a></div><!-- /wp:button --></div>
[39] Fix | Delete
<!-- /wp:buttons --></div>
[40] Fix | Delete
<!-- /wp:column --></div>
[41] Fix | Delete
<!-- /wp:columns -->
[42] Fix | Delete
[43] Fix | Delete
<!-- wp:spacer {"height":"calc( 0.25 * var(--wp--style--root--padding-right, var(--wp--custom--gap--horizontal)))"} -->
[44] Fix | Delete
<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>
[45] Fix | Delete
<!-- /wp:spacer --></div>
[46] Fix | Delete
<!-- /wp:group -->
[47] Fix | Delete
[48] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function