Blog Template Documentation
Summary
The blog template showcases a grid of blog articles, making it easy for visitors to browse and discover content. You can enhance this template by adding tag-based filtering to surface sub-categories within your blog.
Adding Simple Tag Filtering to a Blog Page
Create Metafield Definitions
Open Settings and click Metafields.
Click Collections.
Click Add Definition.
Set Name to
Subtags
.Set Namespace and Key to
custom.subtags
.Click Select Content Type and choose Single line text.
Select List of values.
Click Save.
Add Data to Collection Metafield
Open the collection you’d like to add tag filtering to.
Scroll to the Metafields area at the bottom.
Enter a text value for each tag filter.
Note: There’s no need to include "All" as it will be the first link in the tag filtering.
Ensure each entry matches a tag present within your collection.
Click Save.