# Creating links to dynamic list page using CMS tag field on dynamic template

**URL:** <https://forum.wixstudio.com/t/creating-links-to-dynamic-list-page-using-cms-tag-field-on-dynamic-template/71697>\
**Category:** Ask the community\
**Tags:** wix-studio, wix-blog, cms, code, question\
**Created:** [June 23, 2025, 4:29pm UTC](https://forum.wixstudio.com/t/creating-links-to-dynamic-list-page-using-cms-tag-field-on-dynamic-template/71697 "2025-06-23T16:29:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianikeda](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@brianikeda](https://forum.wixstudio.com/u/brianikeda)\
**Post date:** [June 23, 2025, 4:29pm UTC](https://forum.wixstudio.com/t/creating-links-to-dynamic-list-page-using-cms-tag-field-on-dynamic-template/71697/1 "2025-06-23T16:29:16Z")

</div>

**Question:**  
Can I display tags similar in function to blog tags using the cms tags field?

**Product:**  
Wix Studio Editor

**What are you trying to achieve:**  
I’d like to display the values in a cms tag field on a dynamic item page, so the user can click one and see a dynamic list of all the items in the cms that also have that tag or tags. The solution needs to support displaying multiple tags with their own button/link

**What have you already tried:**  
Using a repeater with buttons linked to cms tag field. It only managed to display all the tags as one long button label

---

<div class="post-metadata">

**Author:** ![Rob](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/rob/32/84134_2.png) [@Rob](https://forum.wixstudio.com/u/Rob)\
**Post date:** [June 23, 2025, 6:05pm UTC](https://forum.wixstudio.com/t/creating-links-to-dynamic-list-page-using-cms-tag-field-on-dynamic-template/71697/2 "2025-06-23T18:05:54Z")

</div>

I hope this helps.

> **[Wix Studio | My Site 53 - 2025-06-23\_13-51-11](https://app.screencast.com/J0fG5XSlTaM9p)**
>
> World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.

You should be able to [use the selection tags](https://support.wix.com/en/article/cms-adding-and-setting-up-selection-tags) and by [leveraging the Wix App Collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) for posts, you should be able to filter that way.

---

<div class="post-metadata">

**Author:** ![brianikeda](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@brianikeda](https://forum.wixstudio.com/u/brianikeda)\
**Post date:** [June 23, 2025, 6:46pm UTC](https://forum.wixstudio.com/t/creating-links-to-dynamic-list-page-using-cms-tag-field-on-dynamic-template/71697/3 "2025-06-23T18:46:44Z")

</div>

Thank you so much for taking the time to create this video!  
Apologies for not explaining more clearly: I need these tags to display on the item page, not the list page. Clicking on a tag would take the user to a list page that was already filtered by that tag. See below for an example from a blog entry:

 ![tags-example](https://us1.discourse-cdn.com/wix/original/3X/8/4/84c4efdd5f4e7cc66e37ea8a71019657cf26c9cb.jpeg)

---

<div class="post-metadata">

**Author:** ![Rob](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/rob/32/84134_2.png) [@Rob](https://forum.wixstudio.com/u/Rob)\
**Post date:** [June 23, 2025, 8:21pm UTC](https://forum.wixstudio.com/t/creating-links-to-dynamic-list-page-using-cms-tag-field-on-dynamic-template/71697/4 "2025-06-23T20:21:42Z")

</div>

I’m glad found the video helpful. In this case, you might need to code it as clicking those tags redirects you to pages created by the blog app to posts filtered by those categories.

This is working for me to catch and redirect to another page if you want to use it as a starting point to redirect to a dynamic page set as **/posts/${categoryName}**

```javascript
// This code automatically redirects users from '/blog/categories/{categoryName}' to '/posts/{categoryName}'
import wixLocation from 'wix-location';

$w.onReady(function () {
    // Get the current URL path as an array
    const path = wixLocation.path;
    // Check if the path matches the pattern: ['blog', 'categories', '{categoryName}']
    if (path.length === 3 && path[0] === 'blog' && path[1] === 'categories') {
        const categoryName = path[2];
        // Redirect to the new path
        wixLocation.to(`/posts/${categoryName}`);
    }
});

```

---

<div class="post-metadata">

**Author:** ![brianikeda](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@brianikeda](https://forum.wixstudio.com/u/brianikeda)\
**Post date:** [June 23, 2025, 9:22pm UTC](https://forum.wixstudio.com/t/creating-links-to-dynamic-list-page-using-cms-tag-field-on-dynamic-template/71697/5 "2025-06-23T21:22:34Z")

</div>

Thanks so much for your help!
