Display Blog based on tags

MezcalMitre
New Member
6 0 0

Hello, i have the HONEY theme.

 

I want to put specific blog posts to display on my blog page based on a blog tag.

MezcalMitre_0-1714623459885.png

 

I want that this cards (margarita, café, etc) shows de tagged blogs when you click on it

 

 

 

Reply 1 (1)

Liqiud_xPert_SJ
Shopify Partner
832 103 131

@MezcalMitre 

 

You can achieve this buy using some liquid code below also you can use CSS code for what ever style you like refer to the tags code below.

 <ul>
      <li>
        {%- for tag in blog.all_tags -%}
          <a href="{{ blog.url }}/tagged/{{ tag | handle }}">{{ tag }}</a>{% unless forloop.last %}, {% endunless %}
        {%- endfor -%}
      </li>
    </ul>

 

thanks

- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂