Bootstrap Templates Bundle

Sunday, December 20, 2015

How to show Shopify Featured Image in Blog Posts

Put the code, where you want to show featured image in shopify blog / article

<!-- article.image here -->
              {% if article.image %}
                {% assign image_alt = article.title | escape %}
                <p class="grid-item">{{ article | img_url: '1024x1024' | img_tag: image_alt, 'article__image' | link_to: article.url }}</p>
              {% endif %}
              <!-- /article.image here -->

Nightery - Night Club WordPress Theme

Nightery - Night Club WordPress Theme Nightery – Night Club WordPress Theme is an awesome design idea for your Night Club, Conce...