From 7e2610df6583425ce4d1793114a84991734abbd6 Mon Sep 17 00:00:00 2001 From: Steve Jones Date: Mon, 24 Jun 2024 21:41:29 -0400 Subject: [PATCH] added - links to vendor block logos --- template-parts/blocks/vendor-repeater/template.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/template-parts/blocks/vendor-repeater/template.php b/template-parts/blocks/vendor-repeater/template.php index 0ba6d01..6d9c2ec 100644 --- a/template-parts/blocks/vendor-repeater/template.php +++ b/template-parts/blocks/vendor-repeater/template.php @@ -70,11 +70,14 @@ while ( have_rows( 'vendors', 'option' ) ) : the_row(); $company_logo = get_sub_field( 'company_logo' ); + $vendor_link = get_sub_field( 'link' ); ?>

- <?php echo wp_kses_post( $company_logo['alt'] ); ?> + > + <?php echo wp_kses_post( $company_logo['alt'] ); ?> +

@@ -193,7 +196,7 @@ $company_logo = get_sub_field( 'company_logo' ); $cashback_amount = get_sub_field( 'cashback_amount' ); $variable = get_sub_field( 'variable' ); - + $vendor_link = get_sub_field( 'link' ); ?> @@ -209,7 +212,11 @@
-

<?php echo wp_kses_post( $company_logo['alt'] ); ?>

+

+ > + <?php echo wp_kses_post( $company_logo['alt'] ); ?> + +