Last active
December 23, 2021 10:25
-
-
Save keithgreer/53dde88c6f936b0edf830df00618693f to your computer and use it in GitHub Desktop.
Shopify: Loop through testimonials on homepage - https://keithgreer.dev/setting-up-a-multipurpose-cmsed-liquid-homepage-section-for-shopify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="testimonial1 angle-bigarrow"> | |
<div class="row"> | |
<div class="small-12 column"> | |
<ul class="grid-1 wow fadeInUp"> | |
{% for block in section.blocks %} | |
<li {{ block.shopify_attributes }}> | |
<div class="testimonial-inner"> | |
<img src="{{ block.settings.image | img_url: '150x150' }}" alt="slider" /> | |
<h5>{{ block.settings.testimonial_author }}</h5> | |
<p>{{ block.settings.testimonial_desc }}</p> | |
</div> | |
</li> | |
{% endfor %} | |
</ul> | |
</div> | |
</div> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment