Looper Condition

Hi,

I am using a All Terms looper with specific taxonomy Project Categories on a project category archive page, which works perfectly and lists the categories needed. I am using a list as an output and want to place a check icon next to the category that we are currently viewing.

i.e the category is heritage, so next to heritage in the category list I want to display a tick/check mark.

Category List

heritage (tick) Commercial Transport etc

What condition can I use, I think I have tried them all :slight_smile:

Set Up:

(section)
(row) Looper Provider All terms > Taxonomy Project Categories
(column 1) Looper Consumer
(list) Dynamic Content
(list item)
(figure)
(icon) Condition to only show icon if current category matches url?
(content)

Any ideas?

Thank you.

Hi All

Have found the solution so thought I would share; the condition I have used is;

{{dc:url:segment index=“1”}} In {{dc:term:slug}} which seems to be working perfectly!

Kind regards

Hello @jcongerton,

Thanks for sharing the information. Glad that you were able to achieve the solution.

Thanks