• Resolved klaggy

    (@klaggy)


    Hi there,

    I’m struggling with the “equal to” condition. I’m using it with a custom taxonomy and it only works with contains, not “equal to” which in my user case scenario won’t work.

    When I debug, both fields are the same (see screenshot) and the condition should be met but it’s not…

    https://prnt.sc/urhvvg

    Any idea why?

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author crazypsycho

    (@crazypsycho)

    Hello @klaggy

    the dynamic-tag-value has a span around, so they are not equal.
    You could check for contains instead of equal.

    Thread Starter klaggy

    (@klaggy)

    Doesn’t it compare with the dynamic tag raw value? It comes straight from a taxonomy so if the span is there, it’s generated by the system.

    Also, I think it would be much more stable if we coud compare with the taxonomy term ID rather than the value, this is very prone to errors…

    Thanks,

    Plugin Author crazypsycho

    (@crazypsycho)

    We will check if we can add a tag for outputting the term-ids.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Condition “equal to” not working with taxonomy’ is closed to new replies.