Hi
I am trying to make a conditional that shows a different image when the date of the loop item parent is different on an event.
Friday = image 1 (dark host logo)
Saturday = image 2 (light host logo)
i have got the 'ne' conditional to work:
[wpv-conditional if="( $(wpcf-event-date).item(@host-event.parent) ne '1668124800' )"]
<img src="[types field='logo' size='full' item='@host-event.parent' url='true'][/types]" width="30px" ></img>
[/wpv-conditional]
Not i am looking for the solution to make the 'eq' friday work.
this is the raw timestamp of the date field: 1668124800.
The image shows on the ne but not on the eq, what im a doing wrong?
can you help me out?
Thanks!

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Hello. Thank you for contacting the Toolset support.
It seems this is a duplicate Ticket.
We will continue with the following original Ticket:
- https://toolset.com/forums/topic/conditional-that-must-equal-date-field-of-parent/
You are welcome to close this ticket.