Blog Tags Order

Ritikaaaa
Shopify Partner
32 0 3

Hello,

{% if blog.all_tags.size > 0 %}
<ul class="blog">
{% for tag in blog.all_tags %}
{% if section.settings.blog_category contains tag %}
<li><a href="#" data-tab="{{ tag | handleize }}">{{ tag }}</a></li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
this section.settings.blog_category contains tag shows tags alphabetically but i want it to show as per order i added in customizer how can i do this?

Reply 1 (1)

Sweet_Savior_3
Shopify Partner
1201 96 116

Hello 

 

for that we need to make the customised in the code

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!