Hello. Thank you for contacting the Toolset support.
First of all, I will have to review how the data is stored for your custom date field.
Can you please share problem URL where you added the conditional statements as well as admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
As I understand now, you have single artist elementor template using which you display the single artist post:
- hidden link
I noticed that you have many-to-many post relationship between artists and Event post types.
Now, what you want is you want to get related event information of above single artist where the related event holds the 5"Event Date" value and you want to compare this "Event Date" value with equal to but with what value? Event date == what value (custom field)?
Also, I see the logo is coming from another relationship that is "Host Event" so the way we will require to work is:
- Get the related event based on current single artist post
- Based on the found related event get the "Event Date" and with that value we need to compare it?
- Based on found related event, we should get the logo - right?
I fixed the problem in a different way, instead of using a conditional to replace the image file i used the svg code and css to change the color on hover.